home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 July / Macworld (1999-07).dmg / Shareware World / Info / For Developers / Mops 3.4.sea / Quick Edit ƒ / Subject Glossary / OOP < prev    next >
MacBinary  |  1998-01-13  |  17.6 KB  |  [TEXT/MSET]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Tue Jan 13 12:50:47 1998, modified Tue Jan 13 12:50:47 1998, creator 'MSET', type ASCII, 17421 bytes "OOP" , at 0x448d 381 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
0% TrID Sybase iAnywhere database files default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MSET]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 03 4f 4f 50 00 00 00 | 00 00 00 00 00 00 00 00 |..OOP...|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 53 45 | 54 01 00 00 00 00 00 00 |.TEXTMSE|T.......|
|00000050| 00 00 00 00 00 44 0d 00 | 00 01 7d b0 e1 59 f7 b0 |.....D..|..}..Y..|
|00000060| e1 59 f7 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.Y......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 ee e3 00 00 |........|........|
|00000080| 20 5c 20 31 34 4a 61 6e | 39 36 20 44 42 48 0d 43 | \ 14Jan|96 DBH.C|
|00000090| 4c 41 53 53 20 44 45 46 | 49 4e 49 54 49 4f 4e 0d |LASS DEF|INITION.|
|000000a0| 0d 3a 43 4c 41 53 53 09 | 2d 2d 20 20 3a 20 6e 61 |.:CLASS.|-- : na|
|000000b0| 6d 65 20 20 73 75 70 65 | 72 7b 20 63 6e 61 6d 65 |me supe|r{ cname|
|000000c0| 31 20 63 6e 61 6d 65 32 | 20 7d 20 6f 70 74 0d 09 |1 cname2| } opt..|
|000000d0| 42 65 67 69 6e 73 20 64 | 65 66 69 6e 69 74 69 6f |Begins d|efinitio|
|000000e0| 6e 20 6f 66 20 61 20 6e | 65 77 20 63 6c 61 73 73 |n of a n|ew class|
|000000f0| 2e 20 20 4f 6e 65 20 6f | 72 20 6d 6f 72 65 20 63 |. One o|r more c|
|00000100| 6c 61 73 73 6e 61 6d 65 | 73 20 63 61 6e 20 62 65 |lassname|s can be|
|00000110| 20 0d 09 64 65 73 69 67 | 6e 61 74 65 64 20 61 73 | ..desig|nated as|
|00000120| 20 73 75 70 65 72 63 6c | 61 73 73 28 65 73 29 2e | supercl|ass(es).|
|00000130| 20 20 54 68 65 72 65 20 | 61 72 65 20 6f 70 74 69 | There |are opti|
|00000140| 6f 6e 61 6c 20 70 61 72 | 61 6d 65 74 65 72 73 20 |onal par|ameters |
|00000150| 74 68 61 74 20 6d 61 79 | 20 0d 09 61 6c 73 6f 20 |that may| ..also |
|00000160| 62 65 20 64 65 63 6c 61 | 72 65 64 20 61 66 74 65 |be decla|red afte|
|00000170| 72 20 74 68 65 20 73 75 | 70 65 72 63 6c 61 73 73 |r the su|perclass|
|00000180| 20 6c 69 73 74 2c 20 69 | 6e 63 6c 75 64 69 6e 67 | list, i|ncluding|
|00000190| 20 6e 20 49 4e 44 45 58 | 45 44 2c 20 4c 41 52 47 | n INDEX|ED, LARG|
|000001a0| 45 2c 20 0d 09 61 6e 64 | 20 47 45 4e 45 52 41 4c |E, ..and| GENERAL|
|000001b0| 2e 20 20 0d 3b 43 4c 41 | 53 53 09 2d 2d 09 45 6e |. .;CLA|SS.--.En|
|000001c0| 64 73 20 64 65 66 69 6e | 69 74 69 6f 6e 20 6f 66 |ds defin|ition of|
|000001d0| 20 61 20 63 6c 61 73 73 | 2e 0d 0d 53 55 50 45 52 | a class|...SUPER|
|000001e0| 7b 09 2d 2d 20 20 3a 20 | 63 6e 61 6d 65 31 20 63 |{.-- : |cname1 c|
|000001f0| 6e 61 6d 65 32 20 7d 20 | 6f 70 74 0d 09 55 73 65 |name2 } |opt..Use|
|00000200| 64 20 74 6f 20 64 65 63 | 6c 61 72 65 20 74 68 65 |d to dec|lare the|
|00000210| 20 73 75 70 65 72 63 6c | 61 73 73 28 65 73 29 20 | supercl|ass(es) |
|00000220| 77 68 65 6e 20 64 65 66 | 69 6e 69 6e 67 20 61 20 |when def|ining a |
|00000230| 63 6c 61 73 73 2e 20 53 | 65 65 20 3a 63 6c 61 73 |class. S|ee :clas|
|00000240| 73 2e 0d 09 0d 53 55 50 | 45 52 3e 09 28 20 2d 2d |s....SUP|ER>.( --|
|00000250| 20 3a 20 63 6c 61 73 73 | 6e 61 6d 65 20 29 09 4f | : class|name ).O|
|00000260| 6f 70 09 43 6c 61 73 73 | 0d 09 55 73 65 64 20 69 |op.Class|..Used i|
|00000270| 6e 20 61 20 63 6c 61 73 | 73 20 64 65 66 69 6e 69 |n a clas|s defini|
|00000280| 74 69 6f 6e 20 77 69 74 | 68 20 6d 75 6c 74 69 70 |tion wit|h multip|
|00000290| 6c 65 20 69 6e 68 65 72 | 69 74 69 61 6e 63 65 2e |le inher|itiance.|
|000002a0| 0d 09 55 73 61 67 65 20 | 69 73 3a 20 6d 73 67 3a |..Usage |is: msg:|
|000002b0| 20 73 75 70 65 72 3e 20 | 73 6f 6d 65 53 75 70 65 | super> |someSupe|
|000002c0| 72 2e 20 20 73 6f 6d 65 | 53 75 70 65 72 20 69 73 |r. some|Super is|
|000002d0| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 0d 09 61 20 | the nam|e of..a |
|000002e0| 73 75 70 65 72 63 6c 61 | 73 73 2e 20 20 57 69 6c |supercla|ss. Wil|
|000002f0| 6c 20 61 73 73 75 72 65 | 20 74 68 61 74 20 74 68 |l assure| that th|
|00000300| 65 20 6e 61 6d 65 64 20 | 6d 65 74 68 6f 64 20 6f |e named |method o|
|00000310| 66 20 74 68 65 0d 09 6e | 61 6d 65 64 20 73 75 70 |f the..n|amed sup|
|00000320| 65 72 63 6c 61 73 73 20 | 77 69 6c 6c 20 62 65 20 |erclass |will be |
|00000330| 75 73 65 64 20 72 61 74 | 68 65 72 20 74 68 61 6e |used rat|her than|
|00000340| 20 74 68 61 74 20 66 72 | 6f 6d 20 74 68 65 0d 09 | that fr|om the..|
|00000350| 64 65 66 61 75 6c 74 20 | 6c 65 66 74 20 74 6f 20 |default |left to |
|00000360| 72 69 67 68 74 20 63 6c | 61 73 73 20 73 65 61 72 |right cl|ass sear|
|00000370| 63 68 20 6f 72 64 65 72 | 2e 20 20 52 65 70 6c 61 |ch order|. Repla|
|00000380| 63 65 73 0d 09 73 75 70 | 65 72 73 5f 74 6f 5f 73 |ces..sup|ers_to_s|
|00000390| 6b 69 70 20 73 79 6e 74 | 61 78 2e 0d 0d 54 45 4d |kip synt|ax...TEM|
|000003a0| 50 09 28 20 2d 2d 20 29 | 09 4f 6f 70 09 43 6c 61 |P.( -- )|.Oop.Cla|
|000003b0| 73 73 0d 09 41 4c 74 65 | 72 6e 61 74 65 20 73 79 |ss..ALte|rnate sy|
|000003c0| 6e 74 61 78 20 66 6f 72 | 20 54 45 4d 50 7b 2e 0d |ntax for| TEMP{..|
|000003d0| 0d 54 45 4d 50 7b 09 28 | 20 2d 2d 20 29 09 4f 6f |.TEMP{.(| -- ).Oo|
|000003e0| 70 09 43 6c 61 73 73 0d | 09 55 73 65 64 20 77 69 |p.Class.|.Used wi|
|000003f0| 74 68 69 6e 20 61 20 64 | 65 66 69 6e 69 74 69 6f |thin a d|efinitio|
|00000400| 6e 20 6f 72 20 6c 6f 63 | 61 6c 20 73 65 63 74 69 |n or loc|al secti|
|00000410| 6f 6e 2e 0d 09 44 65 63 | 6c 61 72 65 73 20 61 20 |on...Dec|lares a |
|00000420| 74 65 6d 70 6f 72 61 72 | 79 20 6f 62 6a 65 63 74 |temporar|y object|
|00000430| 20 6c 69 73 74 2e 20 20 | 53 75 62 73 65 71 75 65 | list. |Subseque|
|00000440| 6e 74 6c 79 20 69 6e 73 | 74 61 6e 74 69 61 74 65 |ntly ins|tantiate|
|00000450| 64 20 6f 62 6a 65 63 74 | 73 0d 09 69 6e 20 74 68 |d object|s..in th|
|00000460| 65 20 6c 69 73 74 20 77 | 69 6c 6c 20 65 78 69 73 |e list w|ill exis|
|00000470| 74 20 6f 6e 6c 79 20 77 | 69 74 68 69 6e 20 74 68 |t only w|ithin th|
|00000480| 65 20 64 65 66 69 6e 69 | 74 69 6f 6e 2e 20 20 54 |e defini|tion. T|
|00000490| 68 65 79 20 61 6c 73 6f | 20 67 65 74 20 61 0d 09 |hey also| get a..|
|000004a0| 72 65 6c 65 61 73 65 3a | 20 6d 65 73 73 61 67 65 |release:| message|
|000004b0| 20 61 75 74 6f 6d 61 74 | 69 63 61 6c 6c 79 20 77 | automat|ically w|
|000004c0| 68 65 6e 20 74 68 65 20 | 64 65 66 69 6e 69 74 69 |hen the |definiti|
|000004d0| 6f 6e 20 65 78 69 74 73 | 20 28 65 69 74 68 65 72 |on exits| (either|
|000004e0| 20 61 74 20 74 68 65 20 | 0d 09 73 65 6d 69 63 6f | at the |..semico|
|000004f0| 6c 6f 6e 20 6f 72 20 76 | 69 61 20 45 58 49 54 29 |lon or v|ia EXIT)|
|00000500| 2e 20 20 49 66 20 79 6f | 75 20 63 61 6c 6c 20 61 |. If yo|u call a|
|00000510| 20 64 65 66 69 6e 69 74 | 69 6f 6e 20 72 65 63 75 | definit|ion recu|
|00000520| 72 73 69 76 65 6c 79 2c | 20 79 6f 75 20 77 69 6c |rsively,| you wil|
|00000530| 6c 0d 09 67 65 74 20 61 | 20 66 72 65 73 68 20 63 |l..get a| fresh c|
|00000540| 6f 70 79 20 6f 66 20 61 | 6e 79 20 74 65 6d 70 6f |opy of a|ny tempo|
|00000550| 72 61 72 79 20 6f 62 6a | 65 63 74 73 2e 20 20 45 |rary obj|ects. E|
|00000560| 78 61 6d 70 6c 65 20 73 | 79 6e 74 61 78 20 69 73 |xample s|yntax is|
|00000570| 3a 0d 09 09 3a 20 53 6f | 6d 65 57 6f 72 64 0d 09 |:...: So|meWord..|
|00000580| 09 09 74 65 6d 70 7b 09 | 69 6e 74 09 09 61 6e 49 |..temp{.|int..anI|
|00000590| 6e 74 0d 09 09 09 09 09 | 76 61 72 09 09 61 56 61 |nt......|var..aVa|
|000005a0| 72 0d 09 09 09 09 09 73 | 74 72 69 6e 67 09 61 53 |r......s|tring.aS|
|000005b0| 74 72 69 6e 67 20 20 7d | 0d 09 4f 70 74 69 6f 6e |tring }|..Option|
|000005c0| 61 6c 6c 79 20 6f 6e 65 | 20 63 61 6e 20 75 73 65 |ally one| can use|
|000005d0| 20 54 45 4d 50 20 7b 20 | 2e 2e 2e 20 7d 2e 0d 0d | TEMP { |... }...|
|000005e0| 47 45 4e 45 52 41 4c 09 | 2d 2d 0d 09 4f 62 73 6f |GENERAL.|--..Obso|
|000005f0| 6c 65 74 65 2e 20 20 44 | 6f 20 6e 6f 74 20 75 73 |lete. D|o not us|
|00000600| 65 2e 0d 09 4f 70 74 69 | 6f 6e 61 6c 20 63 6c 61 |e...Opti|onal cla|
|00000610| 73 73 20 64 65 63 6c 61 | 72 61 74 69 6f 6e 20 74 |ss decla|ration t|
|00000620| 68 61 74 20 77 69 6c 6c | 20 61 6c 6c 6f 77 20 6c |hat will| allow l|
|00000630| 61 74 65 20 62 69 6e 64 | 69 6e 67 20 77 68 65 6e |ate bind|ing when|
|00000640| 20 74 68 69 73 20 63 6c | 61 73 73 20 0d 09 69 73 | this cl|ass ..is|
|00000650| 20 75 73 65 64 20 61 73 | 20 61 6e 20 69 76 61 72 | used as| an ivar|
|00000660| 2e 20 20 42 75 74 20 6e | 6f 74 65 20 74 68 61 74 |. But n|ote that|
|00000670| 20 47 45 4e 45 52 41 4c | 20 63 6c 61 73 73 65 73 | GENERAL| classes|
|00000680| 20 6d 61 79 20 6e 6f 74 | 20 62 65 20 75 73 65 64 | may not| be used|
|00000690| 20 74 6f 20 0d 09 6d 61 | 70 20 69 76 61 72 73 20 | to ..ma|p ivars |
|000006a0| 74 6f 20 4d 61 63 20 74 | 6f 6f 6c 62 6f 78 20 63 |to Mac t|oolbox c|
|000006b0| 61 6c 6c 73 20 62 65 63 | 61 75 73 65 20 74 68 65 |alls bec|ause the|
|000006c0| 20 63 6c 61 73 73 20 68 | 65 61 64 65 72 20 69 6e | class h|eader in|
|000006d0| 66 6f 72 6d 61 74 69 6f | 6e 20 77 69 6c 6c 20 0d |formatio|n will .|
|000006e0| 09 62 65 20 69 6e 63 6c | 75 64 65 64 2e 20 20 49 |.be incl|uded. I|
|000006f0| 4e 44 45 58 45 44 20 63 | 6c 61 73 73 65 73 20 61 |NDEXED c|lasses a|
|00000700| 72 65 20 61 75 74 6f 6d | 61 74 69 63 61 6c 6c 79 |re autom|atically|
|00000710| 20 47 45 4e 45 52 41 4c | 2e 20 20 0d 4c 41 52 47 | GENERAL|. .LARG|
|00000720| 45 09 2d 2d 0d 09 53 65 | 74 73 20 74 68 65 20 22 |E.--..Se|ts the "|
|00000730| 6c 61 72 67 65 22 20 6f | 70 74 69 6f 6e 20 6f 6e |large" o|ption on|
|00000740| 20 61 6e 20 69 6e 64 65 | 78 65 64 20 63 6c 61 73 | an inde|xed clas|
|00000750| 73 2c 20 61 6c 6c 6f 77 | 69 6e 67 20 74 68 65 20 |s, allow|ing the |
|00000760| 6e 75 6d 62 65 72 20 6f | 66 20 0d 09 65 6c 65 6d |number o|f ..elem|
|00000770| 65 6e 74 73 20 74 6f 20 | 62 65 20 67 72 65 61 74 |ents to |be great|
|00000780| 65 72 20 74 68 61 6e 20 | 33 32 4b 2e 20 20 0d 49 |er than |32K. .I|
|00000790| 4e 44 45 58 45 44 09 6e | 20 2d 2d 0d 09 53 65 74 |NDEXED.n| --..Set|
|000007a0| 73 20 61 20 63 6c 61 73 | 73 20 61 6e 64 20 69 74 |s a clas|s and it|
|000007b0| 73 20 73 75 62 63 6c 61 | 73 73 65 73 20 74 6f 20 |s subcla|sses to |
|000007c0| 69 6e 64 65 78 65 64 2c | 20 6f 66 20 65 6c 65 6d |indexed,| of elem|
|000007d0| 65 6e 74 20 62 79 74 65 | 20 77 69 64 74 68 20 6e |ent byte| width n|
|000007e0| 2e 20 20 0d 09 55 73 65 | 64 20 61 66 74 65 72 20 |. ..Use|d after |
|000007f0| 74 68 65 20 73 75 70 65 | 72 63 6c 61 73 73 20 64 |the supe|rclass d|
|00000800| 65 63 6c 61 72 61 74 69 | 6f 6e 20 6c 69 73 74 20 |eclarati|on list |
|00000810| 77 68 65 6e 20 64 65 66 | 69 6e 69 6e 67 20 61 20 |when def|ining a |
|00000820| 6e 65 77 20 63 6c 61 73 | 73 2e 20 20 0d 09 4e 6f |new clas|s. ..No|
|00000830| 74 65 20 74 68 61 74 20 | 77 68 65 6e 20 69 6e 73 |te that |when ins|
|00000840| 74 61 6e 74 69 61 74 69 | 6e 67 20 61 6e 20 69 6e |tantiati|ng an in|
|00000850| 64 65 78 65 64 20 63 6c | 61 73 73 2c 20 79 6f 75 |dexed cl|ass, you|
|00000860| 20 4d 55 53 54 20 70 72 | 65 63 65 64 65 20 74 68 | MUST pr|ecede th|
|00000870| 65 20 0d 09 69 6e 73 74 | 61 6e 63 65 20 6e 61 6d |e ..inst|ance nam|
|00000880| 65 20 77 69 74 68 20 74 | 68 65 20 6e 75 6d 62 65 |e with t|he numbe|
|00000890| 72 20 6f 66 20 65 6c 65 | 6d 65 6e 74 73 20 79 6f |r of ele|ments yo|
|000008a0| 75 20 77 69 73 68 20 74 | 68 61 74 20 69 6e 73 74 |u wish t|hat inst|
|000008b0| 61 6e 63 65 20 74 6f 20 | 0d 09 68 61 76 65 2e 20 |ance to |..have. |
|000008c0| 20 41 6c 73 6f 20 6e 6f | 74 65 20 74 68 61 74 20 | Also no|te that |
|000008d0| 61 6c 6c 20 69 6e 64 65 | 78 65 64 20 63 6c 61 73 |all inde|xed clas|
|000008e0| 73 65 73 20 61 72 65 20 | 61 75 74 6f 6d 61 74 69 |ses are |automati|
|000008f0| 63 61 6c 6c 79 20 64 65 | 63 6c 61 72 65 64 20 74 |cally de|clared t|
|00000900| 6f 20 0d 09 62 65 20 47 | 45 4e 45 52 41 4c 2c 20 |o ..be G|ENERAL, |
|00000910| 73 6f 20 79 6f 75 20 6d | 61 79 20 6e 6f 74 20 75 |so you m|ay not u|
|00000920| 73 65 64 20 69 6e 64 65 | 78 65 64 20 63 6c 61 73 |sed inde|xed clas|
|00000930| 73 65 73 20 74 6f 20 6d | 61 70 20 69 6e 74 6f 20 |ses to m|ap into |
|00000940| 74 6f 6f 6c 62 6f 78 20 | 0d 09 63 61 6c 6c 73 2e |toolbox |..calls.|
|00000950| 20 20 41 6c 73 6f 2c 20 | 6e 20 6d 75 73 74 20 62 | Also, |n must b|
|00000960| 65 20 3c 20 33 32 4b 20 | 28 73 65 65 20 4c 41 52 |e < 32K |(see LAR|
|00000970| 47 45 29 2e 20 20 0d 0d | 3a 4d 09 2d 2d 20 20 3a |GE). ..|:M.-- :|
|00000980| 20 6e 61 6d 65 3a 0d 09 | 42 65 67 69 6e 73 20 64 | name:..|Begins d|
|00000990| 65 66 69 6e 69 74 69 6f | 6e 20 6f 66 20 61 20 6d |efinitio|n of a m|
|000009a0| 65 74 68 6f 64 20 77 69 | 74 68 69 6e 20 61 20 63 |ethod wi|thin a c|
|000009b0| 6c 61 73 73 2e 20 20 4e | 6f 74 65 20 74 68 61 74 |lass. N|ote that|
|000009c0| 20 6e 61 6d 65 3a 20 4d | 55 53 54 20 65 6e 64 20 | name: M|UST end |
|000009d0| 0d 09 77 69 74 68 20 61 | 20 63 6f 6c 6f 6e 20 28 |..with a| colon (|
|000009e0| 3a 29 2e 20 20 0d 3b 4d | 09 2d 2d 09 45 6e 64 73 |:). .;M|.--.Ends|
|000009f0| 20 64 65 66 69 6e 69 74 | 69 6f 6e 20 6f 66 20 61 | definit|ion of a|
|00000a00| 20 6d 65 74 68 6f 64 20 | 69 6e 20 61 20 63 6c 61 | method |in a cla|
|00000a10| 73 73 2e 0d 0d 50 52 49 | 56 41 54 45 09 2d 2d 0d |ss...PRI|VATE.--.|
|00000a20| 09 55 73 65 20 77 69 74 | 68 69 6e 20 61 20 63 6c |.Use wit|hin a cl|
|00000a30| 61 73 73 20 64 65 66 69 | 6e 69 74 69 6f 6e 2e 20 |ass defi|nition. |
|00000a40| 20 4d 61 6b 65 73 20 74 | 68 65 20 66 6f 6c 6c 6f | Makes t|he follo|
|00000a50| 77 69 6e 67 20 6d 65 74 | 68 6f 64 73 20 70 72 69 |wing met|hods pri|
|00000a60| 76 61 74 65 d1 74 68 61 | 74 20 0d 09 69 73 2c 20 |vate.tha|t ..is, |
|00000a70| 74 68 65 79 20 77 69 6c | 6c 20 62 65 20 61 63 63 |they wil|l be acc|
|00000a80| 65 73 73 69 62 6c 65 20 | 66 72 6f 6d 20 77 69 74 |essible |from wit|
|00000a90| 68 69 6e 20 74 68 69 73 | 20 63 6c 61 73 73 20 6f |hin this| class o|
|00000aa0| 72 20 61 6e 79 20 6f 66 | 20 69 74 73 20 0d 09 73 |r any of| its ..s|
|00000ab0| 75 62 63 6c 61 73 73 65 | 73 2c 20 62 75 74 20 6e |ubclasse|s, but n|
|00000ac0| 6f 74 20 66 72 6f 6d 20 | 61 6e 79 77 68 65 72 65 |ot from |anywhere|
|00000ad0| 20 65 6c 73 65 2e 20 20 | 54 68 65 20 63 72 69 74 | else. |The crit|
|00000ae0| 65 72 69 6f 6e 20 69 73 | 20 73 69 6d 70 6c 79 20 |erion is| simply |
|00000af0| 74 68 61 74 20 61 20 0d | 09 63 61 6c 6c 20 74 6f |that a .|.call to|
|00000b00| 20 53 65 6c 66 20 6f 66 | 20 53 75 70 65 72 20 6d | Self of| Super m|
|00000b10| 61 79 20 61 63 63 65 73 | 73 20 61 20 70 72 69 76 |ay acces|s a priv|
|00000b20| 61 74 65 20 6d 65 74 68 | 6f 64 2c 20 62 75 74 20 |ate meth|od, but |
|00000b30| 6e 6f 74 68 69 6e 67 20 | 65 6c 73 65 20 63 61 6e |nothing |else can|
|00000b40| 2e 20 20 0d 09 4e 6f 74 | 65 20 74 68 61 74 20 66 |. ..Not|e that f|
|00000b50| 6f 72 20 74 68 69 73 20 | 72 65 61 73 6f 6e 20 79 |or this |reason y|
|00000b60| 6f 75 20 63 61 6e 27 74 | 20 6c 61 74 65 2d 62 69 |ou can't| late-bi|
|00000b70| 6e 64 20 74 6f 20 61 20 | 70 72 69 76 61 74 65 20 |nd to a |private |
|00000b80| 6d 65 74 68 6f 64 2c 20 | 65 76 65 6e 20 0d 09 69 |method, |even ..i|
|00000b90| 66 20 79 6f 75 20 64 6f | 20 69 74 20 66 72 6f 6d |f you do| it from|
|00000ba0| 20 77 69 74 68 69 6e 20 | 74 68 65 20 63 6c 61 73 | within |the clas|
|00000bb0| 73 20 69 74 73 65 6c 66 | 2e 20 20 0d 50 55 42 4c |s itself|. .PUBL|
|00000bc0| 49 43 09 2d 2d 0d 09 41 | 70 70 6c 69 65 73 20 74 |IC.--..A|pplies t|
|00000bd0| 6f 20 69 76 61 72 73 20 | 61 6e 64 2f 6f 72 20 6d |o ivars |and/or m|
|00000be0| 65 74 68 6f 64 73 2e 0d | 09 4d 61 6b 65 73 20 74 |ethods..|.Makes t|
|00000bf0| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 6d 65 74 |he follo|wing met|
|00000c00| 68 6f 64 73 20 70 75 62 | 6c 69 63 d1 74 68 61 74 |hods pub|lic.that|
|00000c10| 20 69 73 2c 20 74 68 65 | 79 20 77 69 6c 6c 20 62 | is, the|y will b|
|00000c20| 65 20 61 63 63 65 73 73 | 69 62 6c 65 20 66 72 6f |e access|ible fro|
|00000c30| 6d 20 0d 09 61 6e 79 77 | 68 65 72 65 2e 20 20 50 |m ..anyw|here. P|
|00000c40| 52 49 56 41 54 45 20 61 | 6e 64 20 50 55 42 4c 49 |RIVATE a|nd PUBLI|
|00000c50| 43 20 6d 61 79 20 62 65 | 20 75 73 65 64 20 61 6e |C may be| used an|
|00000c60| 79 20 6e 75 6d 62 65 72 | 20 6f 66 20 74 69 6d 65 |y number| of time|
|00000c70| 73 20 77 69 74 68 69 6e | 20 74 68 65 20 0d 09 6f |s within| the ..o|
|00000c80| 6e 65 20 63 6c 61 73 73 | 20 64 65 66 69 6e 69 74 |ne class| definit|
|00000c90| 69 6f 6e 2e 20 20 4d 65 | 74 68 6f 64 73 20 61 72 |ion. Me|thods ar|
|00000ca0| 65 20 69 6e 69 74 69 61 | 6c 6c 79 20 70 75 62 6c |e initia|lly publ|
|00000cb0| 69 63 20 77 68 65 6e 20 | 61 20 63 6c 61 73 73 20 |ic when |a class |
|00000cc0| 0d 09 63 6f 6d 70 69 6c | 61 74 69 6f 6e 20 73 74 |..compil|ation st|
|00000cd0| 61 72 74 73 2e 0d 09 41 | 6c 73 6f 2c 20 69 76 61 |arts...A|lso, iva|
|00000ce0| 72 73 20 63 61 6e 20 62 | 65 20 61 63 63 65 73 73 |rs can b|e access|
|00000cf0| 65 64 20 66 72 6f 6d 20 | 6f 75 74 73 69 64 65 20 |ed from |outside |
|00000d00| 74 68 65 20 63 6c 61 73 | 73 2e 20 20 54 68 65 79 |the clas|s. They|
|00000d10| 27 72 65 20 64 65 63 6c | 61 72 65 64 20 74 68 69 |'re decl|ared thi|
|00000d20| 73 20 77 61 79 3a 0d 09 | 09 63 6c 61 73 73 20 6d |s way:..|.class m|
|00000d30| 79 43 6c 61 73 73 20 73 | 75 70 65 72 7b 20 6d 79 |yClass s|uper{ my|
|00000d40| 53 75 70 65 72 20 7d 0d | 09 09 09 70 75 62 6c 69 |Super }.|...publi|
|00000d50| 63 0d 09 09 09 09 76 61 | 72 09 61 56 61 72 0d 09 |c.....va|r.aVar..|
|00000d60| 09 09 09 69 6e 74 09 61 | 6e 49 6e 74 0d 09 09 09 |...int.a|nInt....|
|00000d70| 65 6e 64 5f 70 75 62 6c | 69 63 0d 09 09 09 09 76 |end_publ|ic.....v|
|00000d80| 61 72 20 61 6e 6f 74 68 | 65 72 56 61 72 0d 09 09 |ar anoth|erVar...|
|00000d90| 09 09 69 6e 74 09 61 6e | 6f 74 68 65 72 49 6e 74 |..int.an|otherInt|
|00000da0| 0d 09 54 68 65 79 27 72 | 65 20 61 63 63 65 73 73 |..They'r|e access|
|00000db0| 65 64 20 66 72 6f 6d 20 | 6f 75 74 73 69 64 65 20 |ed from |outside |
|00000dc0| 74 68 65 20 63 6c 61 73 | 73 20 76 69 61 20 74 68 |the clas|s via th|
|00000dd0| 69 73 20 73 79 6e 74 61 | 78 3a 0d 09 20 20 20 6d |is synta|x:.. m|
|00000de0| 73 67 3a 20 69 76 61 72 | 3e 20 61 6e 49 76 61 72 |sg: ivar|> anIvar|
|00000df0| 20 49 4e 20 73 6f 6d 65 | 4f 62 6a 65 63 74 0d 09 | IN some|Object..|
|00000e00| 28 77 68 65 72 65 20 73 | 6f 6d 65 4f 62 6a 65 63 |(where s|omeObjec|
|00000e10| 74 20 69 73 20 61 6e 20 | 6f 62 6a 65 63 74 20 6f |t is an |object o|
|00000e20| 66 20 6d 79 43 6c 61 73 | 73 2c 20 6f 66 20 63 6f |f myClas|s, of co|
|00000e30| 75 72 73 65 29 2e 0d 0d | 45 4e 44 5f 50 55 42 4c |urse)...|END_PUBL|
|00000e40| 49 43 09 28 20 2d 2d 20 | 29 09 4f 4f 50 09 43 6c |IC.( -- |).OOP.Cl|
|00000e50| 61 73 73 0d 09 44 65 6c | 69 6d 69 74 73 20 65 6e |ass..Del|imits en|
|00000e60| 64 20 6f 66 20 61 20 50 | 55 42 4c 49 43 20 69 76 |d of a P|UBLIC iv|
|00000e70| 61 72 20 6c 69 73 74 2e | 20 20 53 65 65 20 50 55 |ar list.| See PU|
|00000e80| 42 4c 49 43 2e 0d 20 20 | 0d 52 45 43 4f 52 44 7b |BLIC.. |.RECORD{|
|00000e90| 09 28 20 2d 2d 20 29 09 | 54 6f 6f 6c 62 6f 78 09 |.( -- ).|Toolbox.|
|00000ea0| 43 6c 61 73 73 0d 09 41 | 6c 74 65 72 6e 61 74 65 |Class..A|lternate|
|00000eb0| 20 73 79 6e 74 61 78 20 | 66 6f 72 20 52 45 43 4f | syntax |for RECO|
|00000ec0| 52 44 2c 20 62 75 74 20 | 79 6f 75 20 63 61 6e 6e |RD, but |you cann|
|00000ed0| 6f 74 20 6e 61 6d 65 20 | 74 68 65 20 72 65 63 6f |ot name |the reco|
|00000ee0| 72 64 2e 0d 0d 52 45 43 | 4f 52 44 09 28 20 2d 2d |rd...REC|ORD.( --|
|00000ef0| 20 3a 20 6e 61 6d 65 20 | 29 09 54 6f 6f 6c 62 6f | : name |).Toolbo|
|00000f00| 78 09 43 6c 61 73 73 0d | 09 54 68 65 20 6e 61 6d |x.Class.|.The nam|
|00000f10| 65 20 69 73 20 6f 70 74 | 69 6f 6e 61 6c 0d 09 55 |e is opt|ional..U|
|00000f20| 73 65 64 20 69 6e 20 61 | 20 63 6c 61 73 73 20 69 |sed in a| class i|
|00000f30| 76 61 72 20 6c 69 73 74 | 20 64 65 63 6c 61 72 61 |var list| declara|
|00000f40| 74 69 6f 6e 2e 20 20 53 | 75 62 73 65 71 75 65 6e |tion. S|ubsequen|
|00000f50| 74 6c 79 20 64 65 63 6c | 61 72 65 64 20 69 76 61 |tly decl|ared iva|
|00000f60| 72 73 0d 09 63 61 6e 20 | 62 65 20 75 73 65 64 20 |rs..can |be used |
|00000f70| 74 6f 20 6d 61 70 20 69 | 6e 74 6f 20 61 20 4d 61 |to map i|nto a Ma|
|00000f80| 63 20 74 6f 6f 6c 62 6f | 78 20 72 65 63 6f 72 64 |c toolbo|x record|
|00000f90| 20 62 65 63 61 75 73 65 | 20 6f 62 6a 65 63 74 20 | because| object |
|00000fa0| 68 65 61 64 65 72 0d 09 | 69 6e 66 6f 72 6d 61 74 |header..|informat|
|00000fb0| 69 6f 6e 20 77 69 6c 6c | 20 6e 6f 74 20 62 65 20 |ion will| not be |
|00000fc0| 74 68 65 72 65 2e 20 20 | 4e 6f 74 65 20 74 68 61 |there. |Note tha|
|00000fd0| 74 20 79 6f 75 20 63 61 | 6e 20 6e 6f 74 20 6c 61 |t you ca|n not la|
|00000fe0| 74 65 20 62 69 6e 64 20 | 74 6f 0d 09 61 6e 20 69 |te bind |to..an i|
|00000ff0| 76 61 72 20 69 6e 20 61 | 20 52 45 43 4f 52 44 7b |var in a| RECORD{|
|00001000| 20 6c 69 73 74 2e 20 20 | 53 65 65 20 61 6c 73 6f | list. |See also|
|00001010| 20 52 45 43 4f 52 44 7b | 2e 20 20 55 73 61 67 65 | RECORD{|. Usage|
|00001020| 20 69 73 20 61 73 20 66 | 6f 6c 6c 6f 77 73 3a 0d | is as f|ollows:.|
|00001030| 09 09 72 65 63 6f 72 64 | 20 3c 6e 61 6d 65 3e 09 |..record| <name>.|
|00001040| 09 5c 20 54 68 65 20 6e | 61 6d 65 20 69 73 20 6f |.\ The n|ame is o|
|00001050| 70 74 69 6f 6e 61 6c 0d | 09 20 20 20 7b 09 76 61 |ptional.|. {.va|
|00001060| 72 09 09 76 31 0d 09 09 | 09 69 6e 74 09 09 69 31 |r..v1...|.int..i1|
|00001070| 0d 09 20 20 20 7d 0d 09 | 09 09 73 74 72 69 6e 67 |.. }..|..string|
|00001080| 09 73 0d 0d 43 4c 41 53 | 53 5f 41 53 3e 09 28 20 |.s..CLAS|S_AS>.( |
|00001090| 2d 2d 20 3a 20 63 6c 61 | 73 73 6e 61 6d 65 20 29 |-- : cla|ssname )|
|000010a0| 09 4f 4f 50 09 43 6c 61 | 73 73 0d 09 4d 6f 70 73 |.OOP.Cla|ss..Mops|
|000010b0| 20 61 6c 6c 6f 77 73 20 | 79 6f 75 20 61 20 73 68 | allows |you a sh|
|000010c0| 6f 72 74 63 75 74 20 77 | 61 79 20 6f 66 20 73 65 |ortcut w|ay of se|
|000010d0| 6e 64 69 6e 67 20 61 20 | 6d 65 73 73 61 67 65 20 |nding a |message |
|000010e0| 74 6f 20 61 6e 20 6f 62 | 6a 65 63 74 20 77 68 6f |to an ob|ject who|
|000010f0| 73 65 20 61 64 64 72 65 | 73 73 20 69 73 20 0d 09 |se addre|ss is ..|
|00001100| 6f 6e 20 74 68 65 20 73 | 74 61 63 6b 20 61 74 20 |on the s|tack at |
|00001110| 72 75 6e 20 74 69 6d 65 | 2c 20 62 75 74 20 77 69 |run time|, but wi|
|00001120| 74 68 20 65 61 72 6c 79 | 20 62 69 6e 64 69 6e 67 |th early| binding|
|00001130| 2e 20 20 59 6f 75 20 63 | 61 6e 20 64 6f 20 74 68 |. You c|an do th|
|00001140| 69 73 20 77 69 74 68 20 | 61 6e 20 6f 62 6a 50 74 |is with |an objPt|
|00001150| 72 2c 20 62 75 74 20 69 | 74 27 73 20 61 6c 73 6f |r, but i|t's also|
|00001160| 20 0d 09 70 6f 73 73 69 | 62 6c 65 20 74 6f 20 73 | ..possi|ble to s|
|00001170| 61 79 20 73 69 6d 70 6c | 79 20 0d 09 09 3c 6f 62 |ay simpl|y ...<ob|
|00001180| 6a 20 61 64 64 72 20 6f | 6e 20 73 74 61 63 6b 3e |j addr o|n stack>|
|00001190| 20 20 6d 73 67 3a 20 73 | 6f 6d 65 43 6c 61 73 73 | msg: s|omeClass|
|000011a0| 0d 09 69 6e 20 77 68 69 | 63 68 20 63 61 73 65 20 |..in whi|ch case |
|000011b0| 61 6e 20 65 61 72 6c 79 | 20 62 69 6e 64 20 69 73 |an early| bind is|
|000011c0| 20 63 6f 6d 70 69 6c 65 | 64 20 74 6f 20 74 68 65 | compile|d to the|
|000011d0| 20 61 64 64 72 65 73 73 | 65 64 20 6f 62 6a 65 63 | address|ed objec|
|000011e0| 74 2c 20 41 53 53 55 4d | 45 44 20 74 6f 20 62 65 |t, ASSUM|ED to be|
|000011f0| 20 6f 66 20 74 68 65 20 | 63 6c 61 73 73 20 0d 09 | of the |class ..|
|00001200| 22 73 6f 6d 65 43 6c 61 | 73 73 22 2e 20 20 46 6f |"someCla|ss". Fo|
|00001210| 72 20 74 68 6f 73 65 20 | 77 68 6f 20 64 6f 20 73 |r those |who do s|
|00001220| 6f 6d 65 74 69 6d 65 73 | 20 67 69 76 65 20 74 68 |ometimes| give th|
|00001230| 65 69 72 20 63 6c 61 73 | 73 65 73 20 6c 65 73 73 |eir clas|ses less|
|00001240| 20 74 68 61 6e 20 69 64 | 65 61 6c 20 6e 61 6d 65 | than id|eal name|
|00001250| 73 2c 20 74 68 65 72 65 | 27 73 20 6e 6f 77 20 61 |s, there|'s now a|
|00001260| 20 6e 65 77 20 73 79 6e | 74 61 78 20 0d 09 66 6f | new syn|tax ..fo|
|00001270| 72 20 74 68 65 20 61 62 | 6f 76 65 20 6f 70 65 72 |r the ab|ove oper|
|00001280| 61 74 69 6f 6e 3a 20 0d | 09 09 3c 6f 62 6a 20 61 |ation: .|..<obj a|
|00001290| 64 64 72 20 6f 6e 20 73 | 74 61 63 6b 3e 20 20 6d |ddr on s|tack> m|
|000012a0| 73 67 3a 20 63 6c 61 73 | 73 5f 61 73 3e 20 73 6f |sg: clas|s_as> so|
|000012b0| 6d 65 43 6c 61 73 73 0d | 09 54 68 65 20 6f 6c 64 |meClass.|.The old|
|000012c0| 20 77 61 79 20 77 69 6c | 6c 20 73 74 69 6c 6c 20 | way wil|l still |
|000012d0| 77 6f 72 6b 20 2d 20 49 | 20 64 6f 6e 27 74 20 70 |work - I| don't p|
|000012e0| 6c 61 6e 20 74 6f 20 64 | 65 6c 65 74 65 20 69 74 |lan to d|elete it|
|000012f0| 20 61 6e 64 20 6d 61 79 | 62 65 20 62 72 65 61 6b | and may|be break|
|00001300| 20 65 78 69 73 74 69 6e | 67 20 63 6f 64 65 20 2d | existin|g code -|
|00001310| 20 62 75 74 20 74 68 65 | 20 6e 65 77 20 0d 09 77 | but the| new ..w|
|00001320| 61 79 20 72 65 61 64 73 | 20 6c 65 73 73 20 61 6d |ay reads| less am|
|00001330| 62 69 67 75 6f 75 73 6c | 79 20 28 61 6e 64 20 63 |biguousl|y (and c|
|00001340| 6f 6d 70 69 6c 65 73 20 | 65 78 61 63 74 6c 79 20 |ompiles |exactly |
|00001350| 74 68 65 20 73 61 6d 65 | 20 63 6f 64 65 29 2e 20 |the same| code). |
|00001360| 20 0d 0d 49 4e 5f 43 4c | 41 53 53 09 28 20 2d 2d | ..IN_CL|ASS.( --|
|00001370| 20 3a 20 63 6c 61 73 73 | 6e 61 6d 65 20 29 09 4f | : class|name ).O|
|00001380| 4f 50 09 43 6c 61 73 73 | 0d 09 49 66 20 79 6f 75 |OP.Class|..If you|
|00001390| 20 63 6f 6d 62 69 6e 65 | 20 74 68 65 20 50 55 42 | combine| the PUB|
|000013a0| 4c 49 43 20 61 6e 64 20 | 53 54 41 54 49 43 20 69 |LIC and |STATIC i|
|000013b0| 76 61 72 20 66 65 61 74 | 75 72 65 73 2c 20 79 6f |var feat|ures, yo|
|000013c0| 75 20 63 61 6e 0d 09 67 | 65 74 20 61 20 22 70 75 |u can..g|et a "pu|
|000013d0| 62 6c 69 63 20 73 74 61 | 74 69 63 22 20 69 76 61 |blic sta|tic" iva|
|000013e0| 72 2e 20 20 54 6f 20 61 | 63 63 65 73 73 20 74 68 |r. To a|ccess th|
|000013f0| 69 73 20 66 72 6f 6d 20 | 6f 75 74 73 69 64 65 20 |is from |outside |
|00001400| 74 68 65 0d 09 63 6c 61 | 73 73 2c 20 79 6f 75 20 |the..cla|ss, you |
|00001410| 63 61 6e 27 74 20 75 73 | 65 20 74 68 65 20 49 56 |can't us|e the IV|
|00001420| 41 52 3e 20 73 79 6e 74 | 61 78 20 73 69 6e 63 65 |AR> synt|ax since|
|00001430| 20 74 68 65 72 65 27 73 | 20 6e 6f 20 6f 62 6a 65 | there's| no obje|
|00001440| 63 74 0d 09 74 6f 20 72 | 65 66 65 72 20 74 6f 2e |ct..to r|efer to.|
|00001450| 20 20 53 6f 20 74 68 65 | 20 73 79 6e 74 61 78 20 | So the| syntax |
|00001460| 69 73 3a 20 0d 09 09 6d | 73 67 3a 20 69 76 61 72 |is: ...m|sg: ivar|
|00001470| 3e 20 61 53 74 61 74 69 | 63 49 76 61 72 20 49 4e |> aStati|cIvar IN|
|00001480| 5f 43 4c 41 53 53 20 6d | 79 43 6c 61 73 73 0d 0d |_CLASS m|yClass..|
|00001490| 49 4e 09 28 20 2d 2d 20 | 3a 20 6f 62 6a 65 63 74 |IN.( -- |: object|
|000014a0| 6e 61 6d 65 20 29 09 4f | 4f 50 09 44 65 62 75 67 |name ).O|OP.Debug|
|000014b0| 4d 4f 44 2e 74 78 74 0d | 09 55 73 65 64 20 74 6f |MOD.txt.|.Used to|
|000014c0| 20 61 63 63 65 73 73 20 | 61 20 70 75 62 6c 69 63 | access |a public|
|000014d0| 20 69 76 61 72 20 66 72 | 6f 6d 20 6f 75 74 73 69 | ivar fr|om outsi|
|000014e0| 64 65 20 74 68 65 20 63 | 6c 61 73 73 2e 0d 09 55 |de the c|lass...U|
|000014f0| 73 61 67 65 20 69 73 20 | 61 73 20 66 6f 6c 6c 6f |sage is |as follo|
|00001500| 77 73 3a 0d 09 20 20 20 | 6d 73 67 3a 20 69 76 61 |ws:.. |msg: iva|
|00001510| 72 3e 20 61 6e 49 76 61 | 72 20 49 4e 20 73 6f 6d |r> anIva|r IN som|
|00001520| 65 4f 62 6a 65 63 74 0d | 09 28 77 68 65 72 65 20 |eObject.|.(where |
|00001530| 73 6f 6d 65 4f 62 6a 65 | 63 74 20 69 73 20 61 6e |someObje|ct is an|
|00001540| 20 6f 62 6a 65 63 74 20 | 6f 66 20 6d 79 43 6c 61 | object |of myCla|
|00001550| 73 73 2c 20 6f 66 20 63 | 6f 75 72 73 65 29 2e 0d |ss, of c|ourse)..|
|00001560| 09 53 65 65 20 50 55 42 | 4c 49 43 2e 0d 0d 49 56 |.See PUB|LIC...IV|
|00001570| 41 52 3e 09 28 20 2d 2d | 20 3a 20 69 76 61 72 6e |AR>.( --| : ivarn|
|00001580| 61 6d 65 20 29 09 4f 4f | 50 09 43 6c 61 73 73 0d |ame ).OO|P.Class.|
|00001590| 09 55 73 65 64 20 74 6f | 20 61 63 63 65 73 73 20 |.Used to| access |
|000015a0| 61 20 70 75 62 6c 69 63 | 20 69 76 61 72 20 66 72 |a public| ivar fr|
|000015b0| 6f 6d 20 6f 75 74 73 69 | 64 65 20 74 68 65 20 63 |om outsi|de the c|
|000015c0| 6c 61 73 73 2e 0d 09 55 | 73 61 67 65 20 69 73 20 |lass...U|sage is |
|000015d0| 61 73 20 66 6f 6c 6c 6f | 77 73 3a 0d 09 20 20 20 |as follo|ws:.. |
|000015e0| 6d 73 67 3a 20 69 76 61 | 72 3e 20 61 6e 49 76 61 |msg: iva|r> anIva|
|000015f0| 72 20 49 4e 20 73 6f 6d | 65 4f 62 6a 65 63 74 0d |r IN som|eObject.|
|00001600| 09 28 77 68 65 72 65 20 | 73 6f 6d 65 4f 62 6a 65 |.(where |someObje|
|00001610| 63 74 20 69 73 20 61 6e | 20 6f 62 6a 65 63 74 20 |ct is an| object |
|00001620| 6f 66 20 6d 79 43 6c 61 | 73 73 2c 20 6f 66 20 63 |of myCla|ss, of c|
|00001630| 6f 75 72 73 65 29 2e 0d | 09 53 65 65 20 50 55 42 |ourse)..|.See PUB|
|00001640| 4c 49 43 2e 0d 0d 45 4e | 44 5f 50 55 42 4c 49 43 |LIC...EN|D_PUBLIC|
|00001650| 09 28 20 2d 2d 20 29 09 | 4f 4f 50 09 43 6c 61 73 |.( -- ).|OOP.Clas|
|00001660| 73 0d 09 44 65 6c 69 6d | 69 74 73 20 65 6e 64 20 |s..Delim|its end |
|00001670| 6f 66 20 61 20 50 55 42 | 4c 49 43 20 69 76 61 72 |of a PUB|LIC ivar|
|00001680| 20 6c 69 73 74 2e 20 20 | 53 65 65 20 50 55 42 4c | list. |See PUBL|
|00001690| 49 43 2e 0d 0d 53 54 41 | 54 49 43 09 28 20 2d 2d |IC...STA|TIC.( --|
|000016a0| 20 29 09 4f 4f 50 09 43 | 6c 61 73 73 0d 09 54 68 | ).OOP.C|lass..Th|
|000016b0| 65 73 65 20 61 72 65 20 | 6c 69 6b 65 20 73 74 61 |ese are |like sta|
|000016c0| 74 69 63 20 63 6c 61 73 | 73 20 76 61 72 69 61 62 |tic clas|s variab|
|000016d0| 6c 65 73 20 69 6e 20 43 | 2b 2b 20 2d 20 74 68 65 |les in C|++ - the|
|000016e0| 79 20 62 65 6c 6f 6e 67 | 20 74 6f 20 74 68 65 20 |y belong| to the |
|000016f0| 63 6c 61 73 73 2c 0d 09 | 6e 6f 74 20 74 68 65 20 |class,..|not the |
|00001700| 6f 62 6a 65 63 74 2c 20 | 61 6e 64 20 74 68 75 73 |object, |and thus|
|00001710| 20 61 72 65 20 73 68 61 | 72 65 64 20 62 79 20 61 | are sha|red by a|
|00001720| 6c 6c 20 6f 62 6a 65 63 | 74 73 20 6f 66 20 74 68 |ll objec|ts of th|
|00001730| 65 20 63 6c 61 73 73 2e | 0d 09 4f 72 20 79 6f 75 |e class.|..Or you|
|00001740| 20 63 61 6e 20 75 73 65 | 20 20 73 74 61 74 69 63 | can use| static|
|00001750| 7b 20 2e 2e 2e 20 20 7d | 20 69 66 20 79 6f 75 20 |{ ... }| if you |
|00001760| 70 72 65 66 65 72 2e 0d | 09 54 68 65 20 73 79 6e |prefer..|.The syn|
|00001770| 74 61 78 20 66 6f 72 20 | 61 63 63 65 73 73 69 6e |tax for |accessin|
|00001780| 67 20 74 68 65 6d 20 69 | 73 20 6a 75 73 74 20 74 |g them i|s just t|
|00001790| 68 65 20 73 61 6d 65 20 | 61 73 20 66 6f 72 20 6e |he same |as for n|
|000017a0| 6f 72 6d 61 6c 20 69 76 | 61 72 73 2e 0d 09 54 68 |ormal iv|ars...Th|
|000017b0| 65 79 27 72 65 20 64 65 | 63 6c 61 72 65 64 20 6c |ey're de|clared l|
|000017c0| 69 6b 65 20 74 68 69 73 | 3a 0d 09 09 63 6c 61 73 |ike this|:...clas|
|000017d0| 73 20 6d 79 43 6c 61 73 | 73 20 73 75 70 65 72 7b |s myClas|s super{|
|000017e0| 20 6d 79 53 75 70 65 72 | 20 7d 0d 09 09 09 76 61 | mySuper| }....va|
|000017f0| 72 09 6f 6e 65 56 61 72 | 0d 09 09 73 74 61 74 69 |r.oneVar|...stati|
|00001800| 63 0d 09 09 7b 09 76 61 | 72 09 73 6f 6d 65 56 61 |c...{.va|r.someVa|
|00001810| 72 0d 09 09 09 69 6e 74 | 09 73 6f 6d 65 49 6e 74 |r....int|.someInt|
|00001820| 0d 09 09 7d 0d 09 09 09 | 76 61 72 20 61 6e 6f 74 |...}....|var anot|
|00001830| 68 65 72 56 61 72 0d 09 | 49 6e 20 74 68 69 73 20 |herVar..|In this |
|00001840| 65 78 61 6d 70 6c 65 2c | 20 73 6f 6d 65 56 61 72 |example,| someVar|
|00001850| 20 61 6e 64 20 73 6f 6d | 65 49 6e 74 20 61 72 65 | and som|eInt are|
|00001860| 20 73 74 61 74 69 63 2c | 20 6f 6e 65 56 61 72 20 | static,| oneVar |
|00001870| 61 6e 64 20 61 6e 6f 74 | 68 65 72 56 61 72 20 61 |and anot|herVar a|
|00001880| 72 65 20 6e 6f 72 6d 61 | 6c 20 69 76 61 72 73 2e |re norma|l ivars.|
|00001890| 20 20 49 6e 20 74 68 65 | 20 0d 09 6d 65 74 68 6f | In the| ..metho|
|000018a0| 64 73 20 6f 66 20 6d 79 | 43 6c 61 73 73 2c 20 77 |ds of my|Class, w|
|000018b0| 68 65 6e 65 76 65 72 20 | 79 6f 75 20 61 63 63 65 |henever |you acce|
|000018c0| 73 73 20 73 6f 6d 65 56 | 61 72 2c 20 79 6f 75 20 |ss someV|ar, you |
|000018d0| 61 72 65 20 61 63 63 65 | 73 73 69 6e 67 20 74 68 |are acce|ssing th|
|000018e0| 65 20 53 41 4d 45 20 69 | 76 61 72 2c 20 6e 6f 20 |e SAME i|var, no |
|000018f0| 6d 61 74 74 65 72 20 77 | 68 61 74 20 0d 09 6f 62 |matter w|hat ..ob|
|00001900| 6a 65 63 74 20 79 6f 75 | 20 61 72 65 20 69 6e 2c |ject you| are in,|
|00001910| 20 61 6e 64 20 73 69 6d | 69 6c 61 72 6c 79 20 66 | and sim|ilarly f|
|00001920| 6f 72 20 73 6f 6d 65 49 | 6e 74 2e 20 20 0d 0d 53 |or someI|nt. ..S|
|00001930| 54 41 54 49 43 7b 09 28 | 20 2d 2d 20 29 09 4f 4f |TATIC{.(| -- ).OO|
|00001940| 50 09 43 6c 61 73 73 0d | 09 53 79 6e 6f 6e 79 6d |P.Class.|.Synonym|
|00001950| 20 66 6f 72 20 53 54 41 | 54 49 43 2e 0d 0d 43 61 | for STA|TIC...Ca|
|00001960| 6c 6c 46 69 72 73 74 09 | 2d 2d 20 20 3a 20 6d 65 |llFirst.|-- : me|
|00001970| 74 68 6f 64 6e 61 6d 65 | 3a 0d 09 54 68 65 20 6e |thodname|:..The n|
|00001980| 65 78 74 20 6d 65 74 68 | 6f 64 20 64 65 66 69 6e |ext meth|od defin|
|00001990| 69 74 69 6f 6e 20 77 69 | 6c 6c 20 61 6c 77 61 79 |ition wi|ll alway|
|000019a0| 73 20 65 78 65 63 75 74 | 65 20 74 68 65 20 6d 65 |s execut|e the me|
|000019b0| 74 68 6f 64 20 69 6e 64 | 69 63 61 74 65 64 20 62 |thod ind|icated b|
|000019c0| 79 20 0d 09 6d 65 74 68 | 6f 64 6e 61 6d 65 3a 20 |y ..meth|odname: |
|000019d0| 42 45 46 4f 52 45 20 69 | 74 20 69 73 20 65 78 65 |BEFORE i|t is exe|
|000019e0| 63 75 74 65 64 20 62 79 | 20 61 20 73 75 62 63 6c |cuted by| a subcl|
|000019f0| 61 73 73 2e 20 20 50 72 | 6f 76 69 64 65 73 20 61 |ass. Pr|ovides a|
|00001a00| 20 77 61 79 20 66 6f 72 | 20 0d 09 73 75 70 65 72 | way for| ..super|
|00001a10| 63 6c 61 73 73 65 73 20 | 74 6f 20 6c 69 6d 69 74 |classes |to limit|
|00001a20| 20 74 68 65 20 65 78 74 | 65 6e 74 20 74 6f 20 77 | the ext|ent to w|
|00001a30| 68 69 63 68 20 73 75 62 | 63 6c 61 73 73 65 73 20 |hich sub|classes |
|00001a40| 6d 61 79 20 6f 76 65 72 | 72 69 64 65 20 61 20 0d |may over|ride a .|
|00001a50| 09 6d 65 74 68 6f 64 2e | 20 20 0d 43 61 6c 6c 4c |.method.| .CallL|
|00001a60| 61 73 74 09 2d 2d 20 20 | 3a 20 6d 65 74 68 6f 64 |ast.-- |: method|
|00001a70| 6e 61 6d 65 3a 0d 09 54 | 68 65 20 6e 65 78 74 20 |name:..T|he next |
|00001a80| 6d 65 74 68 6f 64 20 64 | 65 66 69 6e 69 74 69 6f |method d|efinitio|
|00001a90| 6e 20 77 69 6c 6c 20 61 | 6c 77 61 79 73 20 65 78 |n will a|lways ex|
|00001aa0| 65 63 75 74 65 20 74 68 | 65 20 6d 65 74 68 6f 64 |ecute th|e method|
|00001ab0| 20 69 6e 64 69 63 61 74 | 65 64 20 62 79 20 0d 09 | indicat|ed by ..|
|00001ac0| 6d 65 74 68 6f 64 6e 61 | 6d 65 3a 20 41 46 54 45 |methodna|me: AFTE|
|00001ad0| 52 20 69 74 20 69 73 20 | 65 78 65 63 75 74 65 64 |R it is |executed|
|00001ae0| 20 62 79 20 61 20 73 75 | 62 63 6c 61 73 73 2e 20 | by a su|bclass. |
|00001af0| 20 50 72 6f 76 69 64 65 | 73 20 61 20 77 61 79 20 | Provide|s a way |
|00001b00| 66 6f 72 20 0d 09 73 75 | 70 65 72 63 6c 61 73 73 |for ..su|perclass|
|00001b10| 65 73 20 74 6f 20 6c 69 | 6d 69 74 20 74 68 65 20 |es to li|mit the |
|00001b20| 65 78 74 65 6e 74 20 74 | 6f 20 77 68 69 63 68 20 |extent t|o which |
|00001b30| 73 75 62 63 6c 61 73 73 | 65 73 20 6d 61 79 20 6f |subclass|es may o|
|00001b40| 76 65 72 72 69 64 65 20 | 61 20 0d 09 6d 65 74 68 |verride |a ..meth|
|00001b50| 6f 64 2e 20 0d 09 0d 53 | 45 4c 46 09 2d 2d 20 6f |od. ...S|ELF.-- o|
|00001b60| 62 6a 0d 09 4f 62 6a 65 | 63 74 20 72 65 66 65 72 |bj..Obje|ct refer|
|00001b70| 65 6e 63 65 20 74 6f 20 | 73 65 6c 66 2e 20 20 4f |ence to |self. O|
|00001b80| 6e 6c 79 20 75 73 65 64 | 20 69 6e 20 61 20 63 6c |nly used| in a cl|
|00001b90| 61 73 73 20 64 65 66 69 | 6e 69 74 69 6f 6e 2e 20 |ass defi|nition. |
|00001ba0| 20 53 45 4c 46 20 69 73 | 20 6e 6f 74 20 0d 09 6e | SELF is| not ..n|
|00001bb0| 65 63 65 73 73 61 72 69 | 6c 79 20 74 68 65 20 73 |ecessari|ly the s|
|00001bc0| 61 6d 65 20 61 73 20 5e | 42 41 53 45 2c 20 62 65 |ame as ^|BASE, be|
|00001bd0| 63 61 75 73 65 20 6f 66 | 20 6d 75 6c 74 69 70 6c |cause of| multipl|
|00001be0| 65 20 69 6e 68 65 72 69 | 74 61 6e 63 65 2e 20 20 |e inheri|tance. |
|00001bf0| 0d 53 55 50 45 52 09 2d | 2d 20 6f 62 6a 0d 09 55 |.SUPER.-|- obj..U|
|00001c00| 73 65 20 77 69 74 68 69 | 6e 20 61 20 63 6c 61 73 |se withi|n a clas|
|00001c10| 73 20 6d 65 74 68 6f 64 | 20 64 65 66 69 6e 69 74 |s method| definit|
|00001c20| 69 6f 6e 20 74 6f 20 72 | 65 66 65 72 20 74 6f 20 |ion to r|efer to |
|00001c30| 73 65 6c 66 2c 20 61 6e | 20 69 6e 73 74 61 6e 63 |self, an| instanc|
|00001c40| 65 20 6f 66 20 0d 09 74 | 68 65 20 63 6c 61 73 73 |e of ..t|he class|
|00001c50| 2c 20 62 75 74 20 74 68 | 65 20 73 75 70 65 72 63 |, but th|e superc|
|00001c60| 6c 61 73 73 20 6d 65 74 | 68 6f 64 20 77 69 6c 6c |lass met|hod will|
|00001c70| 20 62 65 20 69 6e 76 6f | 6b 65 64 2e 20 20 0d 0d | be invo|ked. ..|
|00001c80| 0d 4c 41 54 45 20 42 49 | 4e 44 49 4e 47 0d 5b 09 |.LATE BI|NDING.[.|
|00001c90| 2d 2d 0d 09 42 65 67 69 | 6e 73 20 61 6e 20 65 78 |--..Begi|ns an ex|
|00001ca0| 70 72 65 73 73 69 6f 6e | 20 77 69 74 68 20 61 20 |pression| with a |
|00001cb0| 6c 61 74 65 20 62 6f 75 | 6e 64 20 6d 65 73 73 61 |late bou|nd messa|
|00001cc0| 67 65 20 74 68 61 74 20 | 63 6f 6d 70 75 74 65 73 |ge that |computes|
|00001cd0| 20 74 68 65 20 61 64 64 | 72 65 73 73 20 0d 09 6f | the add|ress ..o|
|00001ce0| 66 20 74 68 65 20 6f 62 | 6a 65 63 74 20 74 6f 20 |f the ob|ject to |
|00001cf0| 72 65 63 69 65 76 65 20 | 74 68 65 20 6d 65 73 73 |recieve |the mess|
|00001d00| 61 67 65 2e 20 20 65 2e | 67 2e 20 20 67 65 74 3a |age. e.|g. get:|
|00001d10| 20 5b 20 30 20 61 74 3a | 20 61 6e 41 72 72 61 79 | [ 0 at:| anArray|
|00001d20| 20 5d 20 2e 20 20 0d 09 | 54 68 69 73 20 69 73 20 | ] . ..|This is |
|00001d30| 61 6e 20 61 6c 74 65 72 | 6e 61 74 69 76 65 20 73 |an alter|native s|
|00001d40| 79 6e 74 61 78 20 74 6f | 20 74 68 61 74 20 70 72 |yntax to| that pr|
|00001d50| 6f 76 69 64 65 64 20 62 | 79 20 2a 2a 2c 20 5b 5d |ovided b|y **, []|
|00001d60| 2c 20 61 6e 64 20 5b 73 | 65 6c 66 5d 2e 20 20 0d |, and [s|elf]. .|
|00001d70| 5d 09 2d 2d 20 20 53 65 | 65 20 61 62 6f 76 65 2e |].-- Se|e above.|
|00001d80| 0d 0d 6e 6f 74 65 20 74 | 68 61 74 20 5b 53 45 4c |..note t|hat [SEL|
|00001d90| 46 5d 2c 20 5b 5d 2c 20 | 61 6e 64 20 2a 2a 20 61 |F], [], |and ** a|
|00001da0| 72 65 20 61 6c 6c 20 73 | 79 6e 6f 6e 79 6d 73 2e |re all s|ynonyms.|
|00001db0| 0d 5b 53 45 4c 46 5d 09 | 6f 62 6a 20 73 65 6c 69 |.[SELF].|obj seli|
|00001dc0| 64 20 2d 2d 0d 09 4c 61 | 74 65 20 62 69 6e 64 73 |d --..La|te binds|
|00001dd0| 20 77 68 61 74 65 76 65 | 72 20 69 73 20 6f 6e 20 | whateve|r is on |
|00001de0| 74 68 65 20 73 74 61 63 | 6b 20 74 6f 20 74 68 65 |the stac|k to the|
|00001df0| 20 67 69 76 65 6e 20 6d | 65 74 68 6f 64 2e 20 20 | given m|ethod. |
|00001e00| 65 2e 67 2e 20 20 6f 62 | 6a 20 0d 09 67 65 74 3a |e.g. ob|j ..get:|
|00001e10| 20 5b 73 65 6c 66 5d 20 | 2e 20 20 59 6f 75 20 6d | [self] |. You m|
|00001e20| 75 73 74 20 62 65 20 73 | 75 72 65 20 74 68 61 74 |ust be s|ure that|
|00001e30| 20 6f 62 6a 20 72 65 61 | 6c 6c 79 20 64 6f 65 73 | obj rea|lly does|
|00001e40| 20 70 6f 69 6e 74 20 74 | 6f 20 61 6e 20 0d 09 6f | point t|o an ..o|
|00001e50| 62 6a 65 63 74 2e 20 0d | 5b 5d 09 5e 6f 62 6a 20 |bject. .|[].^obj |
|00001e60| 73 65 6c 69 64 20 2d 2d | 09 53 65 65 20 61 62 6f |selid --|.See abo|
|00001e70| 76 65 2e 0d 2a 2a 09 5e | 6f 62 6a 20 73 65 6c 69 |ve..**.^|obj seli|
|00001e80| 64 20 2d 2d 09 53 65 65 | 20 61 62 6f 76 65 2e 0d |d --.See| above..|
|00001e90| 0d 0d 53 54 41 4e 44 41 | 52 44 20 4d 45 54 48 4f |..STANDA|RD METHO|
|00001ea0| 44 53 0d 0d 43 4c 41 53 | 53 49 4e 49 54 3a 09 2d |DS..CLAS|SINIT:.-|
|00001eb0| 2d 0d 09 4f 75 72 20 73 | 74 61 6e 64 61 72 64 20 |-..Our s|tandard |
|00001ec0| 63 6f 6e 73 74 72 75 63 | 74 6f 72 20 6d 65 74 68 |construc|tor meth|
|00001ed0| 6f 64 2e 20 20 54 68 65 | 20 64 65 66 61 75 6c 74 |od. The| default|
|00001ee0| 20 6d 65 73 73 61 67 65 | 20 74 68 61 74 20 69 73 | message| that is|
|00001ef0| 20 41 4c 57 41 59 53 20 | 0d 09 73 65 6e 74 20 74 | ALWAYS |..sent t|
|00001f00| 6f 20 61 6e 20 6f 62 6a | 65 63 74 20 61 74 20 74 |o an obj|ect at t|
|00001f10| 69 6d 65 20 6f 66 20 69 | 6e 73 74 61 6e 74 69 61 |ime of i|nstantia|
|00001f20| 74 69 6f 6e 2c 20 65 76 | 65 6e 20 69 76 61 72 73 |tion, ev|en ivars|
|00001f30| 2e 20 20 4e 6f 74 65 20 | 74 68 61 74 20 69 66 20 |. Note |that if |
|00001f40| 0d 09 70 61 72 61 6d 65 | 74 65 72 73 20 61 72 65 |..parame|ters are|
|00001f50| 20 74 6f 20 62 65 20 69 | 6e 63 6c 75 64 65 64 20 | to be i|ncluded |
|00001f60| 66 6f 72 20 61 20 63 6c | 61 73 73 69 6e 69 74 3a |for a cl|assinit:|
|00001f70| 20 66 6f 72 20 61 6e 20 | 49 4e 44 45 58 45 44 20 | for an |INDEXED |
|00001f80| 63 6c 61 73 73 2c 20 74 | 68 65 20 0d 09 23 65 6c |class, t|he ..#el|
|00001f90| 65 6d 65 6e 74 73 20 6d | 75 73 74 20 70 72 65 63 |ements m|ust prec|
|00001fa0| 65 64 65 20 74 68 6f 73 | 65 20 70 61 72 61 6d 65 |ede thos|e parame|
|00001fb0| 74 65 72 73 20 28 23 65 | 6c 65 6d 73 20 6d 75 73 |ters (#e|lems mus|
|00001fc0| 74 20 62 65 20 74 6f 70 | 20 69 74 65 6d 20 6f 6e |t be top| item on|
|00001fd0| 20 0d 09 73 74 61 63 6b | 29 20 61 74 20 69 6e 73 | ..stack|) at ins|
|00001fe0| 74 61 6e 74 69 61 74 69 | 6f 6e 20 74 69 6d 65 20 |tantiati|on time |
|00001ff0| 28 72 65 61 64 20 74 68 | 61 74 20 61 67 61 69 6e |(read th|at again|
|00002000| 29 2e 20 20 4e 6f 74 65 | 20 74 68 61 74 20 66 6f |). Note| that fo|
|00002010| 72 20 63 6c 61 73 73 20 | 0d 09 6f 62 6a 65 63 74 |r class |..object|
|00002020| 20 63 6c 61 73 73 69 6e | 69 74 3a 20 69 73 20 61 | classin|it: is a|
|00002030| 20 6e 75 6c 6c 20 6d 65 | 74 68 6f 64 2c 20 74 68 | null me|thod, th|
|00002040| 61 74 20 69 73 20 69 74 | 20 64 6f 65 73 20 6e 6f |at is it| does no|
|00002050| 74 68 69 6e 67 2e 20 20 | 0d 0d 41 44 44 52 3a 09 |thing. |..ADDR:.|
|00002060| 2d 2d 20 5e 62 61 73 65 | 09 0d 09 52 65 74 75 72 |-- ^base|...Retur|
|00002070| 6e 73 20 74 68 65 20 61 | 64 64 72 65 73 73 20 6f |ns the a|ddress o|
|00002080| 66 20 74 68 65 20 62 65 | 67 69 6e 6e 69 6e 67 20 |f the be|ginning |
|00002090| 6f 66 20 61 6e 20 6f 62 | 6a 65 63 74 27 73 20 69 |of an ob|ject's i|
|000020a0| 76 61 72 73 2e 0d 43 4c | 41 53 53 3a 09 2d 2d 20 |vars..CL|ASS:.-- |
|000020b0| 63 6c 61 73 73 09 52 65 | 74 75 72 6e 73 20 74 68 |class.Re|turns th|
|000020c0| 65 20 63 6c 61 73 73 20 | 70 6f 69 6e 74 65 72 20 |e class |pointer |
|000020d0| 66 6f 72 20 61 6e 20 6f | 62 6a 65 63 74 2e 0d 43 |for an o|bject..C|
|000020e0| 4f 50 59 54 4f 3a 09 6f | 62 6a 20 2d 2d 0d 09 43 |OPYTO:.o|bj --..C|
|000020f0| 6f 70 69 65 73 20 74 68 | 65 20 69 76 61 72 20 70 |opies th|e ivar p|
|00002100| 61 72 74 20 6f 66 20 74 | 68 65 20 70 61 73 73 65 |art of t|he passe|
|00002110| 64 20 69 6e 20 6f 62 6a | 65 63 74 20 74 6f 20 73 |d in obj|ect to s|
|00002120| 65 6c 66 2e 20 20 44 6f | 65 73 6e 27 74 20 63 68 |elf. Do|esn't ch|
|00002130| 65 63 6b 20 0d 09 74 79 | 70 65 20 2d 20 62 65 20 |eck ..ty|pe - be |
|00002140| 63 61 72 65 66 75 6c 2e | 20 20 0d 44 55 4d 50 3a |careful.| .DUMP:|
|00002150| 09 2d 2d 09 50 65 72 66 | 6f 72 6d 73 20 61 20 66 |.--.Perf|orms a f|
|00002160| 6f 72 6d 61 74 74 65 64 | 20 64 75 6d 70 20 6f 66 |ormatted| dump of|
|00002170| 20 61 20 63 6c 61 73 73 | 2e 0d 4c 45 4e 47 54 48 | a class|..LENGTH|
|00002180| 3a 09 2d 2d 20 6c 65 6e | 0d 09 47 65 74 73 20 74 |:.-- len|..Gets t|
|00002190| 6f 74 61 6c 20 6c 65 6e | 67 74 68 20 6f 66 20 6f |otal len|gth of o|
|000021a0| 62 6a 65 63 74 2e 20 20 | 4c 65 6e 67 74 68 20 77 |bject. |Length w|
|000021b0| 69 6c 6c 20 69 6e 63 6c | 75 64 65 20 63 6c 61 73 |ill incl|ude clas|
|000021c0| 73 20 68 65 61 64 65 72 | 20 0d 09 69 6e 66 6f 72 |s header| ..infor|
|000021d0| 6d 61 74 69 6f 6e 20 6f | 6e 6c 79 20 69 66 20 63 |mation o|nly if c|
|000021e0| 6c 61 73 73 20 69 73 20 | 6f 66 20 74 79 70 65 20 |lass is |of type |
|000021f0| 47 45 4e 45 52 41 4c 2e | 20 20 4f 74 68 65 72 77 |GENERAL.| Otherw|
|00002200| 69 73 65 2c 20 6c 65 6e | 67 74 68 20 69 73 20 0d |ise, len|gth is .|
|00002210| 09 6d 65 72 65 6c 79 20 | 74 68 65 20 6c 65 6e 67 |.merely |the leng|
|00002220| 74 68 20 6f 66 20 74 68 | 65 20 69 76 61 72 20 64 |th of th|e ivar d|
|00002230| 61 74 61 20 66 69 65 6c | 64 28 73 29 2e 20 20 0d |ata fiel|d(s). .|
|00002240| 50 52 49 4e 54 3a 09 2d | 2d 09 09 55 73 65 20 74 |PRINT:.-|-..Use t|
|00002250| 6f 20 64 69 73 70 6c 61 | 79 20 61 20 63 6c 61 73 |o displa|y a clas|
|00002260| 73 2c 20 64 65 66 61 75 | 6c 74 20 69 73 20 6a 75 |s, defau|lt is ju|
|00002270| 73 74 20 61 20 44 55 4d | 50 3a 2e 0d 52 45 4c 45 |st a DUM|P:..RELE|
|00002280| 41 53 45 3a 09 2d 2d 0d | 09 4f 75 72 20 73 74 61 |ASE:.--.|.Our sta|
|00002290| 6e 64 61 72 64 20 64 65 | 73 74 72 75 63 74 6f 72 |ndard de|structor|
|000022a0| 20 6d 65 74 68 6f 64 2e | 20 20 41 6e 79 20 6f 62 | method.| Any ob|
|000022b0| 6a 65 63 74 73 20 74 68 | 61 74 20 61 6c 6c 6f 63 |jects th|at alloc|
|000022c0| 61 74 65 20 68 65 61 70 | 20 73 74 6f 72 61 67 65 |ate heap| storage|
|000022d0| 20 0d 09 77 69 6c 6c 20 | 72 65 64 65 66 69 6e 65 | ..will |redefine|
|000022e0| 20 74 68 69 73 20 61 70 | 70 72 6f 70 72 69 61 74 | this ap|propriat|
|000022f0| 65 6c 79 2e 20 20 4f 75 | 72 20 63 6f 6e 76 65 6e |ely. Ou|r conven|
|00002300| 74 69 6f 6e 20 69 73 20 | 74 68 61 74 20 61 6e 20 |tion is |that an |
|00002310| 6f 62 6a 65 63 74 20 77 | 69 6c 6c 20 0d 09 72 65 |object w|ill ..re|
|00002320| 6c 65 61 73 65 20 41 4c | 4c 20 69 74 73 20 73 74 |lease AL|L its st|
|00002330| 6f 72 61 67 65 20 77 68 | 65 6e 20 69 74 20 67 65 |orage wh|en it ge|
|00002340| 74 73 20 61 20 72 65 6c | 65 61 73 65 3a 20 6d 65 |ts a rel|ease: me|
|00002350| 73 73 61 67 65 2e 20 20 | 4f 74 68 65 72 20 6d 65 |ssage. |Other me|
|00002360| 74 68 6f 64 73 20 0d 09 | 63 61 6e 20 62 65 20 70 |thods ..|can be p|
|00002370| 72 6f 76 69 64 65 64 20 | 74 6f 20 70 61 72 74 6c |rovided |to partl|
|00002380| 79 20 72 65 6c 65 61 73 | 65 20 73 74 6f 72 61 67 |y releas|e storag|
|00002390| 65 2c 20 61 73 20 6e 65 | 65 64 65 64 2e 20 20 0d |e, as ne|eded. .|
|000023a0| 0d 0d 0d 43 4f 4e 53 4f | 4c 45 20 49 4e 53 50 45 |...CONSO|LE INSPE|
|000023b0| 43 54 49 4f 4e 0d 0d 2e | 43 4c 41 53 53 3a 09 2d |CTION...|CLASS:.-|
|000023c0| 2d 09 41 20 6d 65 74 68 | 6f 64 2e 20 20 50 72 69 |-.A meth|od. Pri|
|000023d0| 6e 74 73 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |nts the |name of |
|000023e0| 74 68 65 20 63 6c 61 73 | 73 20 6f 66 20 74 68 65 |the clas|s of the|
|000023f0| 20 67 69 76 65 6e 20 6f | 62 6a 65 63 74 2e 0d 2e | given o|bject...|
|00002400| 49 44 3a 09 2d 2d 09 41 | 20 6d 65 74 68 6f 64 2e |ID:.--.A| method.|
|00002410| 20 20 50 72 69 6e 74 73 | 20 74 68 65 20 6e 61 6d | Prints| the nam|
|00002420| 65 20 6f 66 20 74 68 65 | 20 67 69 76 65 6e 20 6f |e of the| given o|
|00002430| 62 6a 65 63 74 2c 20 69 | 66 20 69 74 20 68 61 73 |bject, i|f it has|
|00002440| 20 61 20 6e 61 6d 65 2e | 0d 0d 0d 4d 49 53 43 45 | a name.|...MISCE|
|00002450| 4c 4c 41 4e 45 4f 55 53 | 0d 0d 42 59 54 45 53 09 |LLANEOUS|..BYTES.|
|00002460| 6e 20 2d 2d 20 20 3a 20 | 69 76 61 72 6e 61 6d 65 |n -- : |ivarname|
|00002470| 0d 09 42 79 74 65 73 20 | 69 73 20 75 73 65 64 20 |..Bytes |is used |
|00002480| 61 73 20 74 68 65 20 69 | 76 61 72 20 61 6c 6c 6f |as the i|var allo|
|00002490| 63 61 74 69 6f 6e 20 70 | 72 69 6d 69 74 69 76 65 |cation p|rimitive|
|000024a0| 20 66 6f 72 20 62 61 73 | 69 63 20 63 6c 61 73 73 | for bas|ic class|
|000024b0| 65 73 2e 20 20 0d 09 41 | 6c 6c 6f 63 61 74 65 73 |es. ..A|llocates|
|000024c0| 20 6e 20 62 79 74 65 73 | 20 61 73 20 61 20 6e 61 | n bytes| as a na|
|000024d0| 6d 65 64 20 69 6e 73 74 | 61 6e 63 65 20 76 61 72 |med inst|ance var|
|000024e0| 69 61 62 6c 65 20 6f 66 | 20 61 6e 20 6f 62 6a 65 |iable of| an obje|
|000024f0| 63 74 2e 20 20 59 6f 75 | 20 63 61 6e 20 0d 09 75 |ct. You| can ..u|
|00002500| 73 65 20 62 79 74 65 73 | 20 74 6f 20 6d 61 70 20 |se bytes| to map |
|00002510| 61 20 54 6f 6f 6c 62 6f | 78 20 64 61 74 61 20 73 |a Toolbo|x data s|
|00002520| 74 72 75 63 74 75 72 65 | 20 61 73 20 61 6e 20 6f |tructure| as an o|
|00002530| 62 6a 65 63 74 20 77 68 | 65 6e 20 6e 61 6d 65 64 |bject wh|en named|
|00002540| 20 61 63 63 65 73 73 20 | 0d 09 74 6f 20 73 6f 6d | access |..to som|
|00002550| 65 20 6f 66 20 74 68 65 | 20 66 69 65 6c 64 73 20 |e of the| fields |
|00002560| 69 73 20 6e 6f 74 20 6e | 65 65 64 65 64 20 28 62 |is not n|eeded (b|
|00002570| 75 74 20 79 6f 75 20 6d | 75 73 74 20 6b 6e 6f 77 |ut you m|ust know|
|00002580| 20 74 68 65 20 70 72 6f | 70 65 72 20 0d 09 6c 65 | the pro|per ..le|
|00002590| 6e 67 74 68 29 2e 20 20 | 0d 0d 42 49 4e 44 5f 57 |ngth). |..BIND_W|
|000025a0| 49 54 48 09 6f 62 6a 20 | 2d 2d 3c 73 65 6c 65 63 |ITH.obj |--<selec|
|000025b0| 74 6f 72 3e 20 6f 62 6a | 2d 6d 6f 64 69 66 69 65 |tor> obj|-modifie|
|000025c0| 64 20 20 63 66 61 0d 09 | 49 66 20 79 6f 75 20 61 |d cfa..|If you a|
|000025d0| 72 65 20 6c 61 74 65 2d | 62 69 6e 64 69 6e 67 20 |re late-|binding |
|000025e0| 69 6e 20 61 20 6c 6f 6f | 70 2c 20 69 74 20 63 61 |in a loo|p, it ca|
|000025f0| 6e 20 62 65 20 6d 75 63 | 68 20 66 61 73 74 65 72 |n be muc|h faster|
|00002600| 20 69 66 20 79 6f 75 20 | 64 6f 20 74 68 65 20 0d | if you |do the .|
|00002610| 09 62 69 6e 64 20 6a 75 | 73 74 20 6f 6e 63 65 2c |.bind ju|st once,|
|00002620| 20 74 68 65 6e 20 72 65 | 75 73 65 20 74 68 65 20 | then re|use the |
|00002630| 72 65 73 75 6c 74 69 6e | 67 20 63 66 61 20 65 61 |resultin|g cfa ea|
|00002640| 63 68 20 74 69 6d 65 20 | 69 6e 20 74 68 65 20 6c |ch time |in the l|
|00002650| 6f 6f 70 2e 20 20 0d 09 | 54 68 69 73 20 77 61 79 |oop. ..|This way|
|00002660| 20 79 6f 75 20 6f 6e 6c | 79 20 68 61 76 65 20 74 | you onl|y have t|
|00002670| 6f 20 70 65 72 66 6f 72 | 6d 20 74 68 65 20 6d 65 |o perfor|m the me|
|00002680| 74 68 6f 64 20 73 65 61 | 72 63 68 20 6f 6e 63 65 |thod sea|rch once|
|00002690| 2e 20 20 54 6f 20 62 69 | 6e 64 20 0d 09 69 6e 69 |. To bi|nd ..ini|
|000026a0| 74 69 61 6c 6c 79 20 61 | 6e 64 20 67 65 74 20 74 |tially a|nd get t|
|000026b0| 68 65 20 63 66 61 2c 20 | 75 73 65 20 42 49 4e 44 |he cfa, |use BIND|
|000026c0| 5f 57 49 54 48 2e 20 20 | 55 73 61 67 65 3a 20 28 |_WITH. |Usage: (|
|000026d0| 73 61 76 65 43 66 61 20 | 61 6e 64 20 5e 6f 62 6a |saveCfa |and ^obj|
|000026e0| 2d 6d 6f 64 20 0d 09 61 | 72 65 20 76 61 6c 75 65 |-mod ..a|re value|
|000026f0| 73 20 6f 72 20 6c 6f 63 | 61 6c 73 29 2e 20 20 28 |s or loc|als). (|
|00002700| 67 65 74 20 6f 62 6a 65 | 63 74 27 73 20 61 64 64 |get obje|ct's add|
|00002710| 72 65 73 73 29 20 62 69 | 6e 64 5f 77 69 74 68 20 |ress) bi|nd_with |
|00002720| 73 6f 6d 65 53 65 6c 65 | 63 74 6f 72 3a 20 0d 09 |someSele|ctor: ..|
|00002730| 2d 3e 20 73 61 76 65 43 | 66 61 20 2d 3e 20 5e 6f |-> saveC|fa -> ^o|
|00002740| 62 6a 2d 6d 6f 64 2e 20 | 20 28 69 6e 20 74 68 65 |bj-mod. | (in the|
|00002750| 20 6c 6f 6f 70 29 20 5e | 6f 62 6a 2d 6d 6f 64 20 | loop) ^|obj-mod |
|00002760| 73 61 76 65 43 66 61 20 | 65 78 2d 6d 65 74 68 6f |saveCfa |ex-metho|
|00002770| 64 2e 20 20 0d 53 45 54 | 5f 43 4c 41 53 53 09 6f |d. .SET|_CLASS.o|
|00002780| 62 6a 20 74 68 65 43 6c | 61 73 73 20 2d 2d 0d 09 |bj theCl|ass --..|
|00002790| 53 45 54 5f 43 4c 41 53 | 53 20 69 73 20 61 20 75 |SET_CLAS|S is a u|
|000027a0| 74 69 6c 69 74 79 20 77 | 6f 72 64 20 75 73 65 64 |tility w|ord used|
|000027b0| 20 74 6f 20 70 61 74 63 | 68 20 6e 75 63 6c 65 75 | to patc|h nucleu|
|000027c0| 73 20 6f 62 6a 65 63 74 | 73 20 77 68 65 6e 20 74 |s object|s when t|
|000027d0| 68 65 69 72 20 0d 09 63 | 6c 61 73 73 65 73 20 61 |heir ..c|lasses a|
|000027e0| 72 65 20 64 65 66 69 6e | 65 64 20 69 6e 20 68 69 |re defin|ed in hi|
|000027f0| 67 68 65 72 2d 6c 65 76 | 65 6c 20 66 69 6c 65 73 |gher-lev|el files|
|00002800| 2e 20 20 41 63 74 75 61 | 6c 6c 79 20 69 74 20 63 |. Actua|lly it c|
|00002810| 6f 75 6c 64 20 62 65 20 | 75 73 65 64 20 74 6f 20 |ould be |used to |
|00002820| 0d 09 63 68 61 6e 67 65 | 20 74 68 65 20 63 6c 61 |..change| the cla|
|00002830| 73 73 20 6f 66 20 61 6e | 79 20 6f 62 6a 65 63 74 |ss of an|y object|
|00002840| 2c 20 69 66 20 61 6e 79 | 6f 6e 65 20 69 73 20 73 |, if any|one is s|
|00002850| 69 6c 6c 79 20 65 6e 6f | 75 67 68 20 74 6f 20 77 |illy eno|ugh to w|
|00002860| 61 6e 74 20 74 6f 20 64 | 6f 20 0d 09 74 68 61 74 |ant to d|o ..that|
|00002870| 2e 20 20 0d 53 45 54 5f | 54 4f 5f 43 4c 41 53 53 |. .SET_|TO_CLASS|
|00002880| 09 6f 62 6a 50 74 72 20 | 2d 2d 20 20 3a 20 63 6e |.objPtr |-- : cn|
|00002890| 61 6d 65 0d 09 49 66 20 | 79 6f 75 20 6e 65 65 64 |ame..If |you need|
|000028a0| 20 74 6f 20 64 65 63 6c | 61 72 65 20 74 68 65 20 | to decl|are the |
|000028b0| 6f 62 6a 65 63 74 20 70 | 6f 69 6e 74 65 72 20 62 |object p|ointer b|
|000028c0| 65 66 6f 72 65 20 74 68 | 65 20 63 6c 61 73 73 20 |efore th|e class |
|000028d0| 65 78 69 73 74 73 2c 20 | 75 73 65 20 0d 09 53 45 |exists, |use ..SE|
|000028e0| 54 5f 54 4f 5f 43 4c 41 | 53 53 20 6f 6e 63 65 20 |T_TO_CLA|SS once |
|000028f0| 74 68 65 20 63 6c 61 73 | 73 20 69 73 20 64 65 66 |the clas|s is def|
|00002900| 69 6e 65 64 2c 20 74 68 | 75 73 3a 20 27 20 73 6f |ined, th|us: ' so|
|00002910| 6d 65 4f 50 20 73 65 74 | 5f 74 6f 5f 63 6c 61 73 |meOP set|_to_clas|
|00002920| 73 20 0d 09 73 6f 6d 65 | 43 6c 61 73 73 2e 20 20 |s ..some|Class. |
|00002930| 0d 0d 0d 53 54 41 4e 44 | 41 52 44 20 43 4c 41 53 |...STAND|ARD CLAS|
|00002940| 53 45 53 0d 0d 28 43 4f | 4c 29 09 2d 2d 20 20 3a |SES..(CO|L).-- :|
|00002950| 20 6e 61 6d 65 0d 09 43 | 6f 6c 6c 65 63 74 69 6f | name..C|ollectio|
|00002960| 6e 73 20 61 72 65 20 6f | 72 64 65 72 65 64 20 6c |ns are o|rdered l|
|00002970| 69 73 74 73 20 77 69 74 | 68 20 61 20 63 75 72 72 |ists wit|h a curr|
|00002980| 65 6e 74 20 73 69 7a 65 | 2e 20 20 57 65 20 69 6d |ent size|. We im|
|00002990| 70 6c 65 6d 65 6e 74 20 | 74 68 65 6d 20 62 79 20 |plement |them by |
|000029a0| 0d 09 6d 75 6c 74 69 70 | 6c 79 20 69 6e 68 65 72 |..multip|ly inher|
|000029b0| 69 74 69 6e 67 20 74 68 | 65 20 67 65 6e 65 72 69 |iting th|e generi|
|000029c0| 63 20 28 43 4f 4c 29 20 | 63 6c 61 73 73 20 77 69 |c (COL) |class wi|
|000029d0| 74 68 20 74 68 65 20 61 | 72 72 61 79 20 63 6c 61 |th the a|rray cla|
|000029e0| 73 73 20 6f 66 20 74 68 | 65 20 0d 09 61 70 70 72 |ss of th|e ..appr|
|000029f0| 6f 70 72 69 61 74 65 20 | 77 69 64 74 68 2e 20 20 |opriate |width. |
|00002a00| 57 65 20 75 73 65 20 61 | 20 66 65 77 20 74 72 69 |We use a| few tri|
|00002a10| 63 6b 73 20 74 6f 20 61 | 76 6f 69 64 20 6c 61 74 |cks to a|void lat|
|00002a20| 65 20 62 69 6e 64 69 6e | 67 20 74 6f 20 73 65 6c |e bindin|g to sel|
|00002a30| 66 20 69 6e 20 0d 09 6c | 6f 6f 70 73 2e 20 20 0d |f in ..l|oops. .|
|00002a40| 41 52 52 41 59 09 23 65 | 6c 65 6d 73 20 2d 2d 20 |ARRAY.#e|lems -- |
|00002a50| 20 3a 20 6e 61 6d 65 0d | 09 54 68 65 20 62 61 73 | : name.|.The bas|
|00002a60| 69 63 20 34 2d 62 79 74 | 65 20 63 65 6c 6c 20 6f |ic 4-byt|e cell o|
|00002a70| 6e 65 2d 64 69 6d 65 6e | 73 69 6f 6e 20 61 72 72 |ne-dimen|sion arr|
|00002a80| 61 79 2e 20 20 43 6c 61 | 73 73 20 69 73 20 49 4e |ay. Cla|ss is IN|
|00002a90| 44 45 58 45 44 2e 0d 42 | 4f 4f 4c 09 2d 2d 20 20 |DEXED..B|OOL.-- |
|00002aa0| 3a 20 6e 61 6d 65 0d 09 | 53 75 62 63 6c 61 73 73 |: name..|Subclass|
|00002ab0| 20 6f 66 20 62 79 74 65 | 2e 20 20 4e 6f 74 65 20 | of byte|. Note |
|00002ac0| 74 68 61 74 20 73 69 6e | 63 65 20 74 68 65 20 64 |that sin|ce the d|
|00002ad0| 61 74 61 6c 65 6e 67 74 | 68 20 6f 66 20 61 4d 6f |atalengt|h of aMo|
|00002ae0| 70 73 20 63 6c 61 73 73 | 20 62 6f 6f 6c 20 69 73 |ps class| bool is|
|00002af0| 20 0d 09 31 2c 20 74 68 | 69 73 20 63 6c 61 73 73 | ..1, th|is class|
|00002b00| 20 73 68 6f 75 6c 64 20 | 62 65 20 75 73 65 64 20 | should |be used |
|00002b10| 74 6f 20 6d 61 70 20 69 | 6e 74 6f 20 61 20 54 6f |to map i|nto a To|
|00002b20| 6f 6c 62 6f 78 20 72 65 | 63 6f 72 64 20 6f 66 20 |olbox re|cord of |
|00002b30| 74 79 70 65 20 0d 09 42 | 4f 4f 4c 45 41 4e 2e 20 |type ..B|OOLEAN. |
|00002b40| 20 0d 42 59 54 45 09 2d | 2d 20 20 3a 20 6e 61 6d | .BYTE.-|- : nam|
|00002b50| 65 09 41 20 73 74 61 6e | 64 61 72 64 20 31 2d 62 |e.A stan|dard 1-b|
|00002b60| 79 74 65 20 76 61 72 69 | 61 62 6c 65 20 63 6c 61 |yte vari|able cla|
|00002b70| 73 73 2e 0d 44 49 43 41 | 44 44 52 09 2d 2d 20 20 |ss..DICA|DDR.-- |
|00002b80| 3a 20 6e 61 6d 65 0d 09 | 44 49 43 41 44 44 52 20 |: name..|DICADDR |
|00002b90| 69 73 20 61 20 72 65 6c | 6f 63 61 74 61 62 6c 65 |is a rel|ocatable|
|00002ba0| 20 64 69 63 74 69 6f 6e | 61 72 79 20 61 64 64 72 | diction|ary addr|
|00002bb0| 65 73 73 20 63 6c 61 73 | 73 20 2d 20 75 73 65 20 |ess clas|s - use |
|00002bc0| 74 6f 20 73 74 6f 72 65 | 20 0d 09 6e 6f 6e 2d 65 |to store| ..non-e|
|00002bd0| 78 65 63 75 74 61 62 6c | 65 20 64 69 63 74 69 6f |xecutabl|e dictio|
|00002be0| 6e 61 72 79 20 61 64 64 | 72 65 73 73 65 73 2e 20 |nary add|resses. |
|00002bf0| 20 0d 48 41 4e 44 4c 45 | 09 2d 2d 20 20 3a 20 6e | .HANDLE|.-- : n|
|00002c00| 61 6d 65 09 54 68 65 20 | 73 74 61 6e 64 61 72 64 |ame.The |standard|
|00002c10| 20 63 6c 61 73 73 20 66 | 6f 72 20 68 61 6e 64 6c | class f|or handl|
|00002c20| 65 73 2e 0d 48 41 4e 44 | 4c 45 41 52 52 41 59 09 |es..HAND|LEARRAY.|
|00002c30| 23 65 6c 65 6d 73 20 2d | 2d 20 20 3a 20 6e 61 6d |#elems -|- : nam|
|00002c40| 65 0d 09 48 41 4e 44 4c | 45 41 52 52 41 59 20 61 |e..HANDL|EARRAY a|
|00002c50| 6e 64 20 48 41 4e 44 4c | 45 4c 49 53 54 20 61 72 |nd HANDL|ELIST ar|
|00002c60| 65 20 66 6f 72 20 74 68 | 65 20 69 6d 70 6c 65 6d |e for th|e implem|
|00002c70| 65 6e 74 61 74 69 6f 6e | 20 6f 66 20 63 6f 6c 6c |entation| of coll|
|00002c80| 65 63 74 69 6f 6e 73 20 | 6f 66 20 0d 09 68 65 61 |ections |of ..hea|
|00002c90| 70 2d 62 61 73 65 64 20 | 6f 62 6a 65 63 74 73 2e |p-based |objects.|
|00002ca0| 20 20 48 61 6e 64 6c 65 | 41 72 72 61 79 20 68 61 | Handle|Array ha|
|00002cb0| 73 20 6e 6f 72 6d 61 6c | 20 61 72 72 61 79 20 70 |s normal| array p|
|00002cc0| 72 6f 70 65 72 74 69 65 | 73 2e 20 20 55 73 65 20 |ropertie|s. Use |
|00002cd0| 0d 09 48 61 6e 64 6c 65 | 4c 69 73 74 20 69 66 20 |..Handle|List if |
|00002ce0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 65 6c |the numb|er of el|
|00002cf0| 65 6d 65 6e 74 73 20 6d | 61 79 20 67 72 6f 77 20 |ements m|ay grow |
|00002d00| 61 72 62 69 74 72 61 72 | 69 6c 79 20 6c 61 72 67 |arbitrar|ily larg|
|00002d10| 65 2c 20 61 6e 64 20 69 | 66 20 0d 09 69 6e 64 65 |e, and i|f ..inde|
|00002d20| 78 69 6e 67 20 69 73 6e | 27 74 20 73 6f 20 69 6d |xing isn|'t so im|
|00002d30| 70 6f 72 74 61 6e 74 2e | 20 20 48 61 6e 64 6c 65 |portant.| Handle|
|00002d40| 41 72 72 61 79 20 61 6c | 73 6f 20 69 6e 63 6c 75 |Array al|so inclu|
|00002d50| 64 65 73 20 6d 65 74 68 | 6f 64 73 20 74 6f 20 61 |des meth|ods to a|
|00002d60| 6c 6c 6f 77 20 0d 09 74 | 68 65 20 61 72 72 61 79 |llow ..t|he array|
|00002d70| 20 74 6f 20 62 65 20 75 | 73 65 64 20 61 73 20 61 | to be u|sed as a|
|00002d80| 20 73 74 61 63 6b 20 2d | 20 6e 65 65 64 65 64 20 | stack -| needed |
|00002d90| 66 6f 72 20 46 69 6c 65 | 4c 69 73 74 2e 20 20 0d |for File|List. .|
|00002da0| 48 41 4e 44 4c 45 4c 49 | 53 54 09 23 65 6c 65 6d |HANDLELI|ST.#elem|
|00002db0| 73 20 2d 2d 20 20 3a 20 | 6e 61 6d 65 0d 48 41 4e |s -- : |name.HAN|
|00002dc0| 44 4c 45 4c 49 53 54 20 | 61 6c 6c 6f 77 73 20 74 |DLELIST |allows t|
|00002dd0| 68 65 20 69 6d 70 6c 65 | 6d 65 6e 74 61 74 69 6f |he imple|mentatio|
|00002de0| 6e 20 6f 66 20 61 20 6c | 69 73 74 20 6f 66 20 68 |n of a l|ist of h|
|00002df0| 65 61 70 2d 62 61 73 65 | 64 20 6f 62 6a 65 63 74 |eap-base|d object|
|00002e00| 73 2e 20 20 0d 09 55 6e | 6c 69 6b 65 20 48 41 4e |s. ..Un|like HAN|
|00002e10| 44 4c 45 41 52 52 41 59 | 2c 20 74 68 65 20 6c 69 |DLEARRAY|, the li|
|00002e20| 73 74 20 63 61 6e 20 62 | 65 20 6f 66 20 69 6e 64 |st can b|e of ind|
|00002e30| 65 66 69 6e 69 74 65 20 | 6c 65 6e 67 74 68 2e 20 |efinite |length. |
|00002e40| 20 57 65 20 75 73 65 20 | 61 20 68 65 61 70 20 0d | We use |a heap .|
|00002e50| 09 62 6c 6f 63 6b 20 74 | 6f 20 73 74 6f 72 65 20 |.block t|o store |
|00002e60| 74 68 65 20 68 61 6e 64 | 6c 65 73 20 74 6f 20 74 |the hand|les to t|
|00002e70| 68 65 20 6f 62 6a 65 63 | 74 73 20 63 6f 6e 74 69 |he objec|ts conti|
|00002e80| 67 75 6f 75 73 6c 79 2c | 20 72 61 74 68 65 72 20 |guously,| rather |
|00002e90| 74 68 61 6e 20 68 61 76 | 65 20 0d 09 61 20 73 65 |than hav|e ..a se|
|00002ea0| 70 61 72 61 74 65 20 62 | 6c 6f 63 6b 20 66 6f 72 |parate b|lock for|
|00002eb0| 20 65 61 63 68 20 68 61 | 6e 64 6c 65 20 61 6e 64 | each ha|ndle and|
|00002ec0| 20 6c 69 6e 6b 20 74 68 | 65 6d 20 74 6f 67 65 74 | link th|em toget|
|00002ed0| 68 65 72 2e 20 20 54 68 | 69 73 20 73 61 76 65 73 |her. Th|is saves|
|00002ee0| 20 6f 6e 20 0d 09 6d 65 | 6d 6f 72 79 20 6f 76 65 | on ..me|mory ove|
|00002ef0| 72 68 65 61 64 20 61 6e | 64 20 72 65 64 75 63 65 |rhead an|d reduce|
|00002f00| 73 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |s the nu|mber of |
|00002f10| 6d 65 6d 6f 72 79 20 6d | 61 6e 61 67 65 72 20 63 |memory m|anager c|
|00002f20| 61 6c 6c 73 2e 20 20 49 | 74 20 61 6c 73 6f 20 0d |alls. I|t also .|
|00002f30| 09 72 65 66 6c 65 63 74 | 73 20 74 68 65 20 61 73 |.reflect|s the as|
|00002f40| 73 75 6d 70 74 69 6f 6e | 20 74 68 61 74 20 69 6e |sumption| that in|
|00002f50| 73 65 72 74 69 6f 6e 73 | 20 61 6e 64 20 64 65 6c |sertions| and del|
|00002f60| 65 74 69 6f 6e 73 20 69 | 6e 74 6f 20 74 68 65 20 |etions i|nto the |
|00002f70| 6d 69 64 64 6c 65 20 6f | 66 20 0d 09 74 68 65 20 |middle o|f ..the |
|00002f80| 6c 69 73 74 20 77 69 6c | 6c 20 62 65 20 69 6e 66 |list wil|l be inf|
|00002f90| 72 65 71 75 65 6e 74 2c | 20 61 73 20 74 68 65 73 |requent,| as thes|
|00002fa0| 65 20 63 6f 75 6c 64 20 | 62 65 20 6d 6f 72 65 20 |e could |be more |
|00002fb0| 69 6e 65 66 66 69 63 69 | 65 6e 74 20 74 68 61 6e |ineffici|ent than|
|00002fc0| 20 0d 09 77 69 74 68 20 | 61 20 6c 69 6e 6b 65 64 | ..with |a linked|
|00002fd0| 20 73 63 68 65 6d 65 2e | 20 20 57 65 20 65 78 70 | scheme.| We exp|
|00002fe0| 65 63 74 20 74 68 61 74 | 20 65 6c 65 6d 65 6e 74 |ect that| element|
|00002ff0| 73 20 77 69 6c 6c 20 6e | 6f 72 6d 61 6c 6c 79 20 |s will n|ormally |
|00003000| 62 65 20 61 64 64 65 64 | 20 74 6f 20 0d 09 74 68 |be added| to ..th|
|00003010| 65 20 65 6e 64 2c 20 61 | 6e 64 20 70 72 6f 62 61 |e end, a|nd proba|
|00003020| 62 6c 79 20 6e 6f 74 20 | 72 65 6d 6f 76 65 64 20 |bly not |removed |
|00003030| 61 74 20 61 6c 6c 2c 20 | 6f 72 20 6e 6f 74 20 76 |at all, |or not v|
|00003040| 65 72 79 20 6f 66 74 65 | 6e 2e 20 20 0d 49 4e 44 |ery ofte|n. .IND|
|00003050| 45 58 45 44 2d 4f 42 4a | 09 2d 2d 20 20 3a 20 6e |EXED-OBJ|.-- : n|
|00003060| 61 6d 65 0d 09 43 6c 61 | 73 73 20 49 4e 44 45 58 |ame..Cla|ss INDEX|
|00003070| 45 44 2d 4f 42 4a 20 69 | 73 20 74 68 65 20 67 65 |ED-OBJ i|s the ge|
|00003080| 6e 65 72 69 63 20 73 75 | 70 65 72 63 6c 61 73 73 |neric su|perclass|
|00003090| 20 66 6f 72 20 61 6c 6c | 20 61 72 72 61 79 73 2e | for all| arrays.|
|000030a0| 20 20 48 65 72 65 20 77 | 65 20 0d 09 64 65 66 69 | Here w|e ..defi|
|000030b0| 6e 65 20 74 68 65 20 67 | 65 6e 65 72 61 6c 20 69 |ne the g|eneral i|
|000030c0| 6e 64 65 78 65 64 20 6d | 65 74 68 6f 64 73 2c 20 |ndexed m|ethods, |
|000030d0| 77 68 69 63 68 20 61 70 | 70 6c 79 20 72 65 67 61 |which ap|ply rega|
|000030e0| 72 64 6c 65 73 73 20 6f | 66 20 69 6e 64 65 78 65 |rdless o|f indexe|
|000030f0| 64 20 0d 09 77 69 64 74 | 68 2e 20 20 0d 4c 4f 4e |d ..widt|h. .LON|
|00003100| 47 57 4f 52 44 09 2d 2d | 20 20 3a 20 6e 61 6d 65 |GWORD.--| : name|
|00003110| 20 20 20 20 47 65 6e 65 | 72 69 63 20 73 75 70 65 | Gene|ric supe|
|00003120| 72 63 6c 61 73 73 20 66 | 6f 72 20 76 61 72 2c 20 |rclass f|or var, |
|00003130| 68 61 6e 64 6c 65 20 65 | 74 63 2e 0d 4f 42 4a 48 |handle e|tc..OBJH|
|00003140| 41 4e 44 4c 45 09 2d 2d | 20 20 3a 20 6e 61 6d 65 |ANDLE.--| : name|
|00003150| 0d 09 41 6e 20 4f 42 4a | 48 41 4e 44 4c 45 20 69 |..An OBJ|HANDLE i|
|00003160| 73 20 61 20 68 61 6e 64 | 6c 65 20 74 68 61 74 20 |s a hand|le that |
|00003170| 70 6f 69 6e 74 73 20 74 | 6f 20 61 6e 20 6f 62 6a |points t|o an obj|
|00003180| 65 63 74 20 69 6e 20 74 | 68 65 20 68 65 61 70 2e |ect in t|he heap.|
|00003190| 0d 4f 42 4a 50 54 52 09 | 2d 2d 20 20 3a 20 20 6e |.OBJPTR.|-- : n|
|000031a0| 61 6d 65 0d 09 41 6e 20 | 6f 62 6a 65 63 74 20 70 |ame..An |object p|
|000031b0| 6f 69 6e 74 65 72 20 69 | 73 20 61 20 22 6c 6f 77 |ointer i|s a "low|
|000031c0| 2d 6c 65 76 65 6c 22 20 | 65 6e 74 69 74 79 2c 20 |-level" |entity, |
|000031d0| 72 61 74 68 65 72 20 6c | 69 6b 65 20 61 20 76 61 |rather l|ike a va|
|000031e0| 6c 75 65 2e 20 20 54 68 | 65 20 0d 09 73 79 6e 74 |lue. Th|e ..synt|
|000031f0| 61 78 20 66 6f 72 20 6f | 62 6a 65 63 74 20 70 6f |ax for o|bject po|
|00003200| 69 6e 74 65 72 73 20 69 | 73 3a 20 6f 62 6a 50 74 |inters i|s: objPt|
|00003210| 72 20 61 6e 4f 62 6a 70 | 74 72 20 63 6c 61 73 73 |r anObjp|tr class|
|00003220| 5f 69 73 20 74 68 65 43 | 6c 61 73 73 20 0d 4f 42 |_is theC|lass .OB|
|00003230| 4a 5f 41 52 52 41 59 09 | 23 65 6c 65 6d 73 20 2d |J_ARRAY.|#elems -|
|00003240| 2d 20 20 3a 20 6e 61 6d | 65 0d 09 4f 42 4a 5f 41 |- : nam|e..OBJ_A|
|00003250| 52 52 41 59 20 69 73 20 | 61 20 67 65 6e 65 72 69 |RRAY is |a generi|
|00003260| 63 20 73 75 70 65 72 63 | 6c 61 73 73 20 77 68 69 |c superc|lass whi|
|00003270| 63 68 20 6d 61 6b 65 73 | 20 69 74 20 65 61 73 79 |ch makes| it easy|
|00003280| 20 74 6f 20 67 65 6e 65 | 72 61 74 65 20 61 6e 20 | to gene|rate an |
|00003290| 0d 09 61 72 72 61 79 20 | 6f 66 20 6f 62 6a 65 63 |..array |of objec|
|000032a0| 74 73 20 6f 66 20 61 20 | 67 69 76 65 6e 20 63 6c |ts of a |given cl|
|000032b0| 61 73 73 2e 20 20 4a 75 | 73 74 20 64 65 66 69 6e |ass. Ju|st defin|
|000032c0| 65 20 61 20 6e 65 77 20 | 63 6c 61 73 73 20 77 68 |e a new |class wh|
|000032d0| 69 63 68 20 0d 09 6d 75 | 6c 74 69 70 6c 79 20 69 |ich ..mu|ltiply i|
|000032e0| 6e 68 65 72 69 74 73 20 | 66 72 6f 6d 20 74 68 65 |nherits |from the|
|000032f0| 20 67 69 76 65 6e 20 63 | 6c 61 73 73 20 28 6f 72 | given c|lass (or|
|00003300| 20 63 6c 61 73 73 65 73 | 29 20 61 6e 64 20 4f 42 | classes|) and OB|
|00003310| 4a 5f 41 52 52 41 59 20 | 28 77 68 69 63 68 20 0d |J_ARRAY |(which .|
|00003320| 09 6d 75 73 74 20 63 6f | 6d 65 20 6c 61 73 74 29 |.must co|me last)|
|00003330| 2e 20 20 54 68 69 73 20 | 77 69 6c 6c 20 61 64 64 |. This |will add|
|00003340| 20 61 6e 20 69 6e 64 65 | 78 65 64 20 73 65 63 74 | an inde|xed sect|
|00003350| 69 6f 6e 20 74 6f 20 65 | 61 63 68 20 6f 62 6a 65 |ion to e|ach obje|
|00003360| 63 74 20 6f 66 20 74 68 | 65 20 0d 09 6e 65 77 20 |ct of th|e ..new |
|00003370| 63 6c 61 73 73 2c 20 77 | 69 74 68 20 65 6c 65 6d |class, w|ith elem|
|00003380| 65 6e 74 73 20 77 69 64 | 65 20 65 6e 6f 75 67 68 |ents wid|e enough|
|00003390| 20 74 6f 20 63 6f 6e 74 | 61 69 6e 20 6f 62 6a 65 | to cont|ain obje|
|000033a0| 63 74 73 20 6f 66 20 74 | 68 65 20 6f 72 69 67 69 |cts of t|he origi|
|000033b0| 6e 61 6c 20 0d 09 63 6c | 61 73 73 2e 20 20 54 68 |nal ..cl|ass. Th|
|000033c0| 65 6e 20 53 45 4c 45 43 | 54 3a 20 22 73 77 69 74 |en SELEC|T: "swit|
|000033d0| 63 68 65 73 20 69 6e 22 | 20 74 68 65 20 73 65 6c |ches in"| the sel|
|000033e0| 65 63 74 65 64 20 65 6c | 65 6d 65 6e 74 20 74 6f |ected el|ement to|
|000033f0| 20 62 65 20 74 68 65 20 | 0d 09 22 63 75 72 72 65 | be the |.."curre|
|00003400| 6e 74 22 20 65 6c 65 6d | 65 6e 74 2c 20 61 6e 64 |nt" elem|ent, and|
|00003410| 20 61 6c 6c 20 74 68 65 | 20 6e 6f 72 6d 61 6c 20 | all the| normal |
|00003420| 6d 65 74 68 6f 64 73 20 | 6f 66 20 74 68 65 20 63 |methods |of the c|
|00003430| 6c 61 73 73 20 63 61 6e | 20 74 68 65 6e 20 62 65 |lass can| then be|
|00003440| 20 0d 09 75 73 65 64 2e | 20 20 4e 6f 74 65 20 74 | ..used.| Note t|
|00003450| 68 65 20 75 73 65 20 6f | 66 22 33 32 37 36 37 20 |he use o|f"32767 |
|00003460| 69 6e 64 65 78 65 64 22 | 20 69 6e 20 74 68 65 20 |indexed"| in the |
|00003470| 63 6c 61 73 73 20 64 65 | 66 69 6e 69 74 69 6f 6e |class de|finition|
|00003480| 2e 20 20 0d 4f 52 44 45 | 52 45 44 2d 43 4f 4c 09 |. .ORDE|RED-COL.|
|00003490| 23 65 6c 65 6d 73 20 2d | 2d 20 20 3a 20 6e 61 6d |#elems -|- : nam|
|000034a0| 65 0d 09 4f 72 64 65 72 | 65 64 2d 43 6f 6c 6c 65 |e..Order|ed-Colle|
|000034b0| 63 74 69 6f 6e 20 69 73 | 20 61 20 63 6f 6c 6c 65 |ction is| a colle|
|000034c0| 63 74 69 6f 6e 20 6f 66 | 20 34 2d 62 79 74 65 20 |ction of| 4-byte |
|000034d0| 63 65 6c 6c 73 2e 20 20 | 41 20 73 75 62 63 6c 61 |cells. |A subcla|
|000034e0| 73 73 20 6f 66 20 28 63 | 6f 6c 29 20 0d 09 61 6e |ss of (c|ol) ..an|
|000034f0| 64 20 61 72 72 61 79 2e | 20 20 0d 50 54 52 09 2d |d array.| .PTR.-|
|00003500| 2d 20 20 20 3a 20 6e 61 | 6d 65 09 41 20 73 74 61 |- : na|me.A sta|
|00003510| 6e 64 61 72 64 20 63 6c | 61 73 73 2e 20 20 46 6f |ndard cl|ass. Fo|
|00003520| 72 20 74 6f 6f 6c 62 6f | 78 20 70 6f 69 6e 74 65 |r toolbo|x pointe|
|00003530| 72 73 2e 0d 52 45 53 4f | 55 52 43 45 09 2d 2d 20 |rs..RESO|URCE.-- |
|00003540| 20 20 3a 20 6e 61 6d 65 | 0d 09 50 72 6f 76 69 64 | : name|..Provid|
|00003550| 65 73 20 62 61 73 69 63 | 20 73 75 70 70 6f 72 74 |es basic| support|
|00003560| 20 66 6f 72 20 54 6f 6f | 6c 62 6f 78 20 72 65 73 | for Too|lbox res|
|00003570| 6f 75 72 63 65 73 2e 0d | 53 45 51 55 45 4e 43 45 |ources..|SEQUENCE|
|00003580| 09 23 65 6c 65 6d 73 20 | 2d 2d 20 6a 20 20 3a 20 |.#elems |-- j : |
|00003590| 6e 61 6d 65 0d 09 41 20 | 67 65 6e 65 72 69 63 20 |name..A |generic |
|000035a0| 73 75 70 65 72 63 6c 61 | 73 73 20 66 6f 72 20 63 |supercla|ss for c|
|000035b0| 6c 61 73 73 65 73 20 77 | 68 69 63 68 20 68 61 76 |lasses w|hich hav|
|000035c0| 65 20 6d 75 6c 74 69 70 | 6c 65 20 69 74 65 6d 73 |e multip|le items|
|000035d0| 20 77 68 69 63 68 20 0d | 09 66 72 65 71 75 65 6e | which .|.frequen|
|000035e0| 74 6c 79 20 6e 65 65 64 | 20 74 6f 20 62 65 20 6c |tly need| to be l|
|000035f0| 6f 6f 6b 65 64 20 61 74 | 20 69 6e 20 73 65 71 75 |ooked at| in sequ|
|00003600| 65 6e 63 65 2e 20 20 41 | 74 20 70 72 65 73 65 6e |ence. A|t presen|
|00003610| 74 20 74 68 65 20 6d 61 | 69 6e 20 0d 09 66 75 6e |t the ma|in ..fun|
|00003620| 63 74 69 6f 6e 20 6f 66 | 20 53 65 71 75 65 6e 63 |ction of| Sequenc|
|00003630| 65 20 69 73 20 74 6f 20 | 69 6d 70 6c 65 6d 65 6e |e is to |implemen|
|00003640| 74 20 74 68 65 20 45 41 | 43 48 3a 20 6d 65 74 68 |t the EA|CH: meth|
|00003650| 6f 64 2c 20 77 68 69 63 | 68 20 6d 61 6b 65 73 20 |od, whic|h makes |
|00003660| 69 74 20 0d 09 76 65 72 | 79 20 73 69 6d 70 6c 65 |it ..ver|y simple|
|00003670| 20 74 6f 20 64 65 61 6c | 20 77 69 74 68 20 65 61 | to deal| with ea|
|00003680| 63 68 20 65 6c 65 6d 65 | 6e 74 2e 20 20 53 65 71 |ch eleme|nt. Seq|
|00003690| 75 65 6e 63 65 20 63 61 | 6e 20 62 65 20 6d 75 6c |uence ca|n be mul|
|000036a0| 74 69 70 6c 79 20 0d 09 | 69 6e 68 65 72 69 74 65 |tiply ..|inherite|
|000036b0| 64 20 77 69 74 68 20 61 | 6e 79 20 63 6c 61 73 73 |d with a|ny class|
|000036c0| 20 77 68 69 63 68 20 69 | 6d 70 6c 65 6d 65 6e 74 | which i|mplement|
|000036d0| 73 20 74 68 65 20 46 49 | 52 53 54 3f 3a 20 61 6e |s the FI|RST?: an|
|000036e0| 64 20 4e 45 58 54 3f 3a | 20 0d 09 6d 65 74 68 6f |d NEXT?:| ..metho|
|000036f0| 64 73 2e 20 20 54 68 65 | 20 61 63 74 75 61 6c 20 |ds. The| actual |
|00003700| 69 6d 70 6c 65 6d 65 6e | 74 61 74 69 6f 6e 20 64 |implemen|tation d|
|00003710| 65 74 61 69 6c 73 20 61 | 72 65 20 71 75 69 74 65 |etails a|re quite|
|00003720| 20 69 72 72 65 6c 65 76 | 61 6e 74 2c 20 61 73 20 | irrelev|ant, as |
|00003730| 0d 09 6c 6f 6e 67 20 61 | 73 20 74 68 65 73 65 20 |..long a|s these |
|00003740| 6d 65 74 68 6f 64 73 20 | 61 72 65 20 73 75 70 70 |methods |are supp|
|00003750| 6f 72 74 65 64 2e 20 20 | 0d 56 41 52 09 2d 2d 20 |orted. |.VAR.-- |
|00003760| 20 20 3a 20 6e 61 6d 65 | 0d 09 54 68 65 20 73 74 | : name|..The st|
|00003770| 61 6e 64 61 72 64 20 76 | 61 72 69 61 62 6c 65 20 |andard v|ariable |
|00003780| 63 6c 61 73 73 2e 20 20 | 53 75 62 63 6c 61 73 73 |class. |Subclass|
|00003790| 20 6f 66 20 6c 6f 6e 67 | 77 6f 72 64 20 74 68 61 | of long|word tha|
|000037a0| 74 20 61 64 64 73 20 74 | 68 65 20 2b 3a 20 61 6e |t adds t|he +: an|
|000037b0| 64 20 0d 09 2d 3a 20 6d | 65 74 68 6f 64 73 2e 20 |d ..-: m|ethods. |
|000037c0| 20 55 73 65 66 75 6c 20 | 61 73 20 61 6e 20 69 76 | Useful |as an iv|
|000037d0| 61 72 20 74 68 61 74 20 | 6d 61 70 73 20 69 6e 74 |ar that |maps int|
|000037e0| 6f 20 61 20 54 6f 6f 6c | 62 6f 78 20 4c 4f 4e 47 |o a Tool|box LONG|
|000037f0| 49 4e 54 20 72 65 63 6f | 72 64 20 0d 09 73 74 72 |INT reco|rd ..str|
|00003800| 75 63 74 75 72 65 2e 20 | 20 0d 58 2d 41 44 44 52 |ucture. | .X-ADDR|
|00003810| 09 2d 2d 20 20 20 3a 20 | 6e 61 6d 65 0d 09 58 2d |.-- : |name..X-|
|00003820| 41 44 44 52 20 69 73 20 | 61 6e 20 65 78 65 63 75 |ADDR is |an execu|
|00003830| 74 61 62 6c 65 20 64 69 | 63 74 69 6f 6e 61 72 79 |table di|ctionary|
|00003840| 20 61 64 64 72 65 73 73 | 20 63 6c 61 73 73 2e 20 | address| class. |
|00003850| 20 54 68 65 20 6f 6e 6c | 79 20 73 69 67 6e 69 66 | The onl|y signif|
|00003860| 69 63 61 6e 74 20 0d 09 | 64 69 66 66 65 72 65 6e |icant ..|differen|
|00003870| 63 65 20 74 6f 20 44 69 | 63 41 64 64 72 20 69 73 |ce to Di|cAddr is|
|00003880| 20 74 68 61 74 20 74 68 | 65 72 65 20 69 73 20 61 | that th|ere is a|
|00003890| 6e 20 45 78 65 63 3a 20 | 6d 65 74 68 6f 64 20 61 |n Exec: |method a|
|000038a0| 6e 64 20 6e 6f 20 47 65 | 74 3a 20 0d 09 6d 65 74 |nd no Ge|t: ..met|
|000038b0| 68 6f 64 2e 20 20 42 75 | 74 20 69 66 20 77 65 20 |hod. Bu|t if we |
|000038c0| 65 76 65 72 20 68 61 76 | 65 20 74 6f 20 73 65 70 |ever hav|e to sep|
|000038d0| 61 72 61 74 65 20 63 6f | 64 65 20 61 6e 64 20 64 |arate co|de and d|
|000038e0| 61 74 61 2c 20 68 61 76 | 69 6e 67 20 61 20 0d 09 |ata, hav|ing a ..|
|000038f0| 73 65 70 61 72 61 74 65 | 20 63 6c 61 73 73 20 63 |separate| class c|
|00003900| 6f 75 6c 64 20 70 72 6f | 76 65 20 76 65 72 79 20 |ould pro|ve very |
|00003910| 75 73 65 66 75 6c 2e 20 | 20 0d 58 2d 41 52 52 41 |useful. | .X-ARRA|
|00003920| 59 09 23 65 6c 65 6d 73 | 20 2d 2d 20 20 20 3a 20 |Y.#elems| -- : |
|00003930| 6e 61 6d 65 0d 09 41 20 | 73 75 62 63 6c 61 73 73 |name..A |subclass|
|00003940| 20 6f 66 20 41 52 52 41 | 59 2c 20 63 61 6e 20 65 | of ARRA|Y, can e|
|00003950| 78 65 63 75 74 65 20 69 | 74 73 20 65 6c 65 6d 65 |xecute i|ts eleme|
|00003960| 6e 74 73 20 28 77 68 69 | 63 68 20 61 72 65 20 63 |nts (whi|ch are c|
|00003970| 66 61 73 20 6f 66 20 4d | 6f 70 73 20 0d 09 77 6f |fas of M|ops ..wo|
|00003980| 72 64 73 29 2e 20 20 0d | 58 2d 43 4f 4c 09 23 65 |rds). .|X-COL.#e|
|00003990| 6c 65 6d 73 20 2d 2d 20 | 20 20 3a 20 6e 61 6d 65 |lems -- | : name|
|000039a0| 0d 09 58 2d 43 4f 4c 20 | 69 73 20 61 20 63 6f 6c |..X-COL |is a col|
|000039b0| 6c 65 63 74 69 6f 6e 20 | 6f 66 20 65 78 65 63 75 |lection |of execu|
|000039c0| 74 61 62 6c 65 20 77 6f | 72 64 20 61 64 64 72 65 |table wo|rd addre|
|000039d0| 73 73 65 73 2e 20 20 41 | 20 73 75 62 63 6c 61 73 |sses. A| subclas|
|000039e0| 73 20 6f 66 20 28 63 6f | 6c 29 20 0d 09 61 6e 64 |s of (co|l) ..and|
|000039f0| 20 78 2d 61 72 72 61 79 | 2e 20 20 0d 0d 0d 50 52 | x-array|. ...PR|
|00003a00| 49 4d 49 54 49 56 45 53 | 0d 0d 5e 42 41 53 45 09 |IMITIVES|..^BASE.|
|00003a10| 2d 2d 20 61 64 64 72 0d | 09 41 64 64 72 20 69 73 |-- addr.|.Addr is|
|00003a20| 20 74 68 65 20 62 61 73 | 65 20 61 64 64 72 65 73 | the bas|e addres|
|00003a30| 73 20 6f 66 20 74 68 65 | 20 70 72 69 76 61 74 65 |s of the| private|
|00003a40| 20 64 61 74 61 20 6f 66 | 20 74 68 65 20 6f 62 6a | data of| the obj|
|00003a50| 65 63 74 2e 20 20 4f 6e | 6c 79 20 75 73 65 64 20 |ect. On|ly used |
|00003a60| 0d 09 69 6e 20 61 20 63 | 6c 61 73 73 20 64 65 66 |..in a c|lass def|
|00003a70| 69 6e 69 74 69 6f 6e 2e | 20 20 53 61 6d 65 20 61 |inition.| Same a|
|00003a80| 73 20 61 64 64 72 3a 20 | 73 65 6c 66 2e 20 20 0d |s addr: |self. .|
|00003a90| 4f 42 4a 09 2d 2d 20 6f | 62 6a 0d 09 43 61 6c 6c |OBJ.-- o|bj..Call|
|00003aa0| 65 64 20 66 72 6f 6d 20 | 77 69 74 68 69 6e 20 61 |ed from |within a|
|00003ab0| 6e 20 69 6e 6c 69 6e 65 | 20 6d 65 74 68 6f 64 2e |n inline| method.|
|00003ac0| 20 20 50 61 73 73 65 73 | 20 74 68 65 20 6f 62 6a | Passes| the obj|
|00003ad0| 65 63 74 27 73 20 62 61 | 73 65 20 61 6e 64 20 0d |ect's ba|se and .|
|00003ae0| 09 64 69 73 70 6c 61 63 | 65 6d 65 6e 74 20 74 6f |.displac|ement to|
|00003af0| 20 48 61 6e 64 6c 65 72 | 73 20 74 6f 20 67 65 6e | Handler|s to gen|
|00003b00| 65 72 61 74 65 20 74 68 | 65 20 63 6f 72 72 65 63 |erate th|e correc|
|00003b10| 74 20 61 64 64 72 65 73 | 73 2e 20 20 4f 70 74 69 |t addres|s. Opti|
|00003b20| 6d 69 7a 61 74 69 6f 6e | 20 0d 09 77 69 6c 6c 20 |mization| ..will |
|00003b30| 74 68 65 6e 20 61 70 70 | 6c 79 2e 20 20 0d 4f 42 |then app|ly. .OB|
|00003b40| 4a 45 43 54 09 2d 2d 20 | 63 6c 61 73 73 0d 09 54 |JECT.-- |class..T|
|00003b50| 68 65 20 72 6f 6f 74 20 | 63 6c 61 73 73 20 6f 66 |he root |class of|
|00003b60| 20 61 6c 6c 20 63 6c 61 | 73 73 65 73 2e 20 20 4f | all cla|sses. O|
|00003b70| 6e 6c 79 20 75 73 65 64 | 20 61 73 20 61 20 64 65 |nly used| as a de|
|00003b80| 63 6c 61 72 65 64 20 73 | 75 70 65 72 63 6c 61 73 |clared s|uperclas|
|00003b90| 73 20 77 68 65 6e 20 0d | 09 64 65 66 69 6e 69 6e |s when .|.definin|
|00003ba0| 67 20 61 20 6e 65 77 20 | 63 6c 61 73 73 2e 20 20 |g a new |class. |
|00003bb0| 4e 6f 74 65 20 74 68 61 | 74 20 63 6c 61 73 73 20 |Note tha|t class |
|00003bc0| 6f 62 6a 65 63 74 20 68 | 61 73 20 74 68 65 20 70 |object h|as the p|
|00003bd0| 72 65 2d 64 65 66 69 6e | 65 64 20 0d 09 6d 65 74 |re-defin|ed ..met|
|00003be0| 68 6f 64 73 20 63 6c 61 | 73 73 3a 2c 20 2e 69 64 |hods cla|ss:, .id|
|00003bf0| 3a 2c 20 2e 63 6c 61 73 | 73 3a 2c 20 61 64 64 72 |:, .clas|s:, addr|
|00003c00| 3a 2c 20 6c 65 6e 67 74 | 68 3a 2c 20 63 6f 70 79 |:, lengt|h:, copy|
|00003c10| 74 6f 3a 2c 20 63 6c 61 | 73 73 69 6e 69 74 3a 2c |to:, cla|ssinit:,|
|00003c20| 20 0d 09 72 65 6c 65 61 | 73 65 3a 2c 20 64 75 6d | ..relea|se:, dum|
|00003c30| 70 3a 2c 20 61 6e 64 20 | 70 72 69 6e 74 3a 2e 20 |p:, and |print:. |
|00003c40| 20 53 6f 20 41 4c 4c 20 | 6f 62 6a 65 63 74 73 20 | So ALL |objects |
|00003c50| 70 6f 73 73 65 73 73 20 | 74 68 65 73 65 20 6d 65 |possess |these me|
|00003c60| 74 68 6f 64 73 2e 20 20 | 0d 09 53 6f 6d 65 20 6f |thods. |..Some o|
|00003c70| 66 20 74 68 65 73 65 20 | 6d 65 74 68 6f 64 73 20 |f these |methods |
|00003c80| 64 6f 20 6e 6f 74 68 69 | 6e 67 2c 20 66 6f 72 20 |do nothi|ng, for |
|00003c90| 63 6c 61 73 73 20 6f 62 | 6a 65 63 74 2e 20 20 0d |class ob|ject. .|
|00003ca0| 4f 42 4a 4c 45 4e 09 2d | 2d 20 6e 09 43 6f 6d 70 |OBJLEN.-|- n.Comp|
|00003cb0| 75 74 65 73 20 74 6f 74 | 61 6c 20 64 61 74 61 20 |utes tot|al data |
|00003cc0| 6c 65 6e 67 74 68 20 6f | 66 20 63 75 72 72 65 6e |length o|f curren|
|00003cd0| 74 20 6f 62 6a 65 63 74 | 2e 0d 43 48 4b 53 41 4d |t object|..CHKSAM|
|00003ce0| 45 09 6f 62 6a 20 2d 2d | 20 6f 62 6a 0d 09 41 20 |E.obj --| obj..A |
|00003cf0| 63 68 65 63 6b 20 74 68 | 61 74 20 74 77 6f 20 6f |check th|at two o|
|00003d00| 62 6a 65 63 74 73 20 61 | 72 65 20 6f 66 20 65 78 |bjects a|re of ex|
|00003d10| 61 63 74 6c 79 20 74 68 | 65 20 73 61 6d 65 20 63 |actly th|e same c|
|00003d20| 6c 61 73 73 2e 20 20 41 | 62 6f 72 74 73 20 77 69 |lass. A|borts wi|
|00003d30| 74 68 20 0d 09 65 72 72 | 6f 72 20 6d 65 73 73 61 |th ..err|or messa|
|00003d40| 67 65 20 69 66 20 6e 6f | 74 2e 20 20 0d 43 48 4b |ge if no|t. .CHK|
|00003d50| 43 4c 41 53 53 09 63 66 | 61 20 2d 2d 20 63 66 61 |CLASS.cf|a -- cfa|
|00003d60| 0d 41 62 6f 72 74 73 20 | 61 6e 64 20 69 73 73 75 |.Aborts |and issu|
|00003d70| 65 73 20 65 72 72 6f 72 | 20 6d 65 73 73 61 67 65 |es error| message|
|00003d80| 20 69 66 20 74 68 65 20 | 63 66 61 20 64 6f 65 73 | if the |cfa does|
|00003d90| 20 6e 6f 74 20 72 65 66 | 65 72 20 74 6f 20 61 20 | not ref|er to a |
|00003da0| 63 6c 61 73 73 2e 20 20 | 0d 3f 3e 43 4c 41 53 53 |class. |.?>CLASS|
|00003db0| 09 6f 62 6a 20 2d 2d 20 | 63 6c 61 73 73 0d 09 43 |.obj -- |class..C|
|00003dc0| 6f 6e 76 65 72 74 73 20 | 74 68 65 20 70 6f 69 6e |onverts |the poin|
|00003dd0| 74 65 72 20 74 6f 20 61 | 6e 20 6f 62 6a 65 63 74 |ter to a|n object|
|00003de0| 20 74 6f 20 61 20 70 6f | 69 6e 74 65 72 20 74 6f | to a po|inter to|
|00003df0| 20 69 74 73 20 63 6c 61 | 73 73 2e 20 20 41 62 6f | its cla|ss. Abo|
|00003e00| 72 74 73 20 69 66 20 0d | 09 66 61 69 6c 75 72 65 |rts if .|.failure|
|00003e10| 2e 20 20 0d 3f 43 4c 41 | 53 53 09 2d 2d 09 45 72 |. .?CLA|SS.--.Er|
|00003e20| 72 6f 72 20 69 66 20 6e | 6f 74 20 63 6f 6d 70 69 |ror if n|ot compi|
|00003e30| 6c 69 6e 67 20 61 20 63 | 6c 61 73 73 20 64 65 66 |ling a c|lass def|
|00003e40| 69 6e 69 74 69 6f 6e 2e | 0d 43 4c 31 09 2d 2d 09 |inition.|.CL1.--.|
|00003e50| 43 6c 65 61 6e 73 20 75 | 70 20 74 68 65 20 63 6c |Cleans u|p the cl|
|00003e60| 61 73 73 20 63 6f 6d 70 | 69 6c 65 72 20 64 61 74 |ass comp|iler dat|
|00003e70| 61 20 6f 6e 20 61 6e 20 | 61 62 6f 72 74 2e 0d 43 |a on an |abort..C|
|00003e80| 4c 3e 4c 45 4e 09 23 65 | 6c 73 20 63 6c 61 73 73 |L>LEN.#e|ls class|
|00003e90| 20 2d 2d 20 23 65 6c 73 | 20 6c 65 6e 0d 09 47 65 | -- #els| len..Ge|
|00003ea0| 74 73 20 64 61 74 61 20 | 6c 65 6e 67 74 68 20 6f |ts data |length o|
|00003eb0| 66 20 6f 62 6a 65 63 74 | 20 67 69 76 65 6e 20 23 |f object| given #|
|00003ec0| 65 6c 73 20 61 6e 64 20 | 63 6c 61 73 73 2e 0d 44 |els and |class..D|
|00003ed0| 46 41 09 63 6c 61 73 73 | 20 2d 2d 20 64 66 61 0d |FA.class| -- dfa.|
|00003ee0| 09 47 69 76 65 6e 20 61 | 20 70 6f 69 6e 74 65 72 |.Given a| pointer|
|00003ef0| 20 74 6f 20 61 20 63 6c | 61 73 73 2c 20 72 65 74 | to a cl|ass, ret|
|00003f00| 75 72 6e 73 20 74 68 65 | 20 64 61 74 61 20 66 69 |urns the| data fi|
|00003f10| 65 6c 64 20 61 64 64 72 | 65 73 73 2e 20 20 46 69 |eld addr|ess. Fi|
|00003f20| 72 73 74 20 32 20 0d 09 | 62 79 74 65 73 20 61 72 |rst 2 ..|bytes ar|
|00003f30| 65 20 74 68 65 20 64 61 | 74 61 20 6c 65 6e 67 74 |e the da|ta lengt|
|00003f40| 68 2c 20 73 65 63 6f 6e | 64 20 32 20 62 79 74 65 |h, secon|d 2 byte|
|00003f50| 73 20 61 72 65 20 74 68 | 65 20 77 69 64 74 68 20 |s are th|e width |
|00003f60| 6f 66 20 74 68 65 20 69 | 6e 64 65 78 65 64 20 0d |of the i|ndexed .|
|00003f70| 09 65 6c 65 6d 65 6e 74 | 73 2e 20 20 0d 44 4c 45 |.element|s. .DLE|
|00003f80| 4e 26 58 57 49 44 09 63 | 6c 61 73 73 20 2d 2d 20 |N&XWID.c|lass -- |
|00003f90| 64 6c 65 6e 20 78 77 69 | 64 0d 09 47 69 76 65 6e |dlen xwi|d..Given|
|00003fa0| 20 61 20 63 6c 61 73 73 | 20 70 6f 69 6e 74 65 72 | a class| pointer|
|00003fb0| 2c 20 72 65 74 75 6e 73 | 20 74 68 65 20 69 76 61 |, retuns| the iva|
|00003fc0| 72 20 64 61 74 61 6c 65 | 6e 67 74 68 20 61 6e 64 |r datale|ngth and|
|00003fd0| 20 77 69 64 74 68 20 6f | 66 20 74 68 65 20 0d 09 | width o|f the ..|
|00003fe0| 69 6e 64 65 78 65 64 20 | 65 6c 65 6d 65 6e 74 73 |indexed |elements|
|00003ff0| 2e 20 20 0d 45 58 4d 49 | 44 09 6f 62 6a 20 73 65 |. .EXMI|D.obj se|
|00004000| 6c 49 44 20 2d 2d 0d 09 | 45 78 65 63 75 74 65 73 |lID --..|Executes|
|00004010| 20 61 20 6d 65 74 68 6f | 64 20 67 69 76 65 6e 20 | a metho|d given |
|00004020| 69 74 73 20 73 65 6c 20 | 49 44 2e 20 20 55 73 65 |its sel |ID. Use|
|00004030| 64 20 69 6e 20 6c 61 74 | 65 20 62 69 6e 64 69 6e |d in lat|e bindin|
|00004040| 67 2e 0d 46 46 41 09 5e | 63 6c 61 73 73 20 2d 2d |g..FFA.^|class --|
|00004050| 20 66 66 61 0d 09 47 69 | 76 65 6e 20 61 20 70 6f | ffa..Gi|ven a po|
|00004060| 69 6e 74 65 72 20 74 6f | 20 61 20 63 6c 61 73 73 |inter to| a class|
|00004070| 2c 20 72 65 74 75 72 6e | 73 20 74 68 65 20 66 6c |, return|s the fl|
|00004080| 61 67 20 66 69 65 6c 64 | 20 61 64 64 72 65 73 73 |ag field| address|
|00004090| 2e 0d 46 49 4e 44 4d 09 | 73 65 6c 49 44 20 63 6c |..FINDM.|selID cl|
|000040a0| 61 73 73 20 2d 2d 20 6f | 66 66 73 20 63 66 61 09 |ass -- o|ffs cfa.|
|000040b0| 46 69 6e 64 73 20 61 20 | 6d 65 74 68 6f 64 20 69 |Finds a |method i|
|000040c0| 6e 20 61 20 63 6c 61 73 | 73 2e 0d 47 45 54 44 4c |n a clas|s..GETDL|
|000040d0| 45 4e 09 6f 62 6a 20 2d | 2d 20 6e 09 47 65 74 73 |EN.obj -|- n.Gets|
|000040e0| 20 6c 65 6e 67 74 68 20 | 6f 66 20 6f 62 6a 65 63 | length |of objec|
|000040f0| 74 27 73 20 6e 61 6d 65 | 64 20 69 76 61 72 73 2e |t's name|d ivars.|
|00004100| 0d 49 46 41 09 63 6c 61 | 73 73 20 2d 2d 20 69 66 |.IFA.cla|ss -- if|
|00004110| 61 0d 09 47 69 76 65 6e | 20 61 20 70 6f 69 6e 74 |a..Given| a point|
|00004120| 65 72 20 74 6f 20 61 20 | 63 6c 61 73 73 2c 20 72 |er to a |class, r|
|00004130| 65 74 75 72 6e 73 20 74 | 68 65 20 69 76 61 72 20 |eturns t|he ivar |
|00004140| 66 69 65 6c 64 20 61 64 | 64 72 65 73 73 2e 0d 49 |field ad|dress..I|
|00004150| 56 46 49 4e 44 4d 09 73 | 65 6c 49 44 20 5e 69 76 |VFINDM.s|elID ^iv|
|00004160| 61 72 20 2d 2d 20 6f 66 | 66 73 20 63 66 61 09 4c |ar -- of|fs cfa.L|
|00004170| 6f 6f 6b 73 20 66 6f 72 | 20 61 20 6d 65 74 68 6f |ooks for| a metho|
|00004180| 64 20 69 6e 0d 49 58 09 | 2d 2d 20 69 66 61 0d 09 |d in.IX.|-- ifa..|
|00004190| 43 61 6c 6c 65 64 20 66 | 72 6f 6d 20 77 69 74 68 |Called f|rom with|
|000041a0| 69 6e 20 61 6e 20 69 6e | 6c 69 6e 65 20 6d 65 74 |in an in|line met|
|000041b0| 68 6f 64 2e 20 20 43 6f | 6d 70 69 6c 65 73 20 63 |hod. Co|mpiles c|
|000041c0| 6f 64 65 20 74 6f 20 67 | 65 6e 65 72 61 74 65 20 |ode to g|enerate |
|000041d0| 74 68 65 20 0d 09 69 6e | 64 65 78 65 64 20 61 64 |the ..in|dexed ad|
|000041e0| 64 72 65 73 73 2e 20 20 | 0d 4d 45 54 41 09 2d 2d |dress. |.META.--|
|000041f0| 20 63 6c 61 73 73 0d 09 | 4d 45 54 41 20 69 73 20 | class..|META is |
|00004200| 74 68 65 20 73 75 70 65 | 72 20 63 6c 61 73 73 20 |the supe|r class |
|00004210| 6f 66 20 4f 62 6a 65 63 | 74 20 2d 20 74 6f 70 20 |of Objec|t - top |
|00004220| 6f 66 20 61 6c 6c 20 69 | 6e 68 65 72 69 74 61 6e |of all i|nheritan|
|00004230| 63 65 2e 0d 4d 46 41 09 | 63 6c 61 73 73 20 2d 2d |ce..MFA.|class --|
|00004240| 20 6d 66 61 09 47 69 76 | 65 6e 20 61 20 70 6f 69 | mfa.Giv|en a poi|
|00004250| 6e 74 65 72 20 74 6f 20 | 61 20 63 6c 61 73 73 2c |nter to |a class,|
|00004260| 20 72 65 74 75 72 6e 73 | 20 74 68 65 20 6d 65 74 | returns| the met|
|00004270| 68 6f 64 73 20 66 69 65 | 6c 64 20 61 64 64 72 65 |hods fie|ld addre|
|00004280| 73 73 2e 0d 52 45 4c 43 | 4e 54 09 2d 2d 20 6e 0d |ss..RELC|NT.-- n.|
|00004290| 09 41 20 76 61 6c 75 65 | 2e 20 20 46 6f 72 20 74 |.A value|. For t|
|000042a0| 65 73 74 69 6e 67 20 2d | 20 63 6f 75 6e 74 73 20 |esting -| counts |
|000042b0| 72 65 6c 65 61 73 65 3a | 20 6d 73 67 73 20 74 6f |release:| msgs to|
|000042c0| 20 6d 61 6b 65 20 73 75 | 72 65 20 77 65 27 72 65 | make su|re we're|
|000042d0| 20 0d 09 72 65 6c 65 61 | 73 69 6e 67 20 65 76 65 | ..relea|sing eve|
|000042e0| 72 79 74 68 69 6e 67 2e | 20 20 0d 53 46 41 09 63 |rything.| .SFA.c|
|000042f0| 6c 61 73 73 20 2d 2d 20 | 73 66 61 0d 09 47 69 76 |lass -- |sfa..Giv|
|00004300| 65 6e 20 61 20 70 6f 69 | 6e 74 65 72 20 74 6f 20 |en a poi|nter to |
|00004310| 61 20 63 6c 61 73 73 2c | 20 72 65 74 75 72 6e 73 |a class,| returns|
|00004320| 20 74 68 65 20 73 75 70 | 65 72 63 6c 61 73 73 20 | the sup|erclass |
|00004330| 66 69 65 6c 64 20 61 64 | 64 72 65 73 73 2c 20 77 |field ad|dress, w|
|00004340| 68 69 63 68 20 0d 09 69 | 73 20 61 6e 20 4e 2d 77 |hich ..i|s an N-w|
|00004350| 61 79 20 70 6f 69 6e 74 | 65 72 2e 20 20 0d 53 55 |ay point|er. .SU|
|00004360| 50 45 52 28 09 2d 2d 20 | 20 3a 20 63 6e 61 6d 65 |PER(.-- | : cname|
|00004370| 31 20 63 6e 61 6d 65 32 | 20 7d 20 6f 70 74 09 53 |1 cname2| } opt.S|
|00004380| 79 6e 6f 6e 79 6d 20 66 | 6f 72 20 73 75 70 65 72 |ynonym f|or super|
|00004390| 7b 2e 0d 58 57 49 44 09 | 63 6c 61 73 73 20 2d 2d |{..XWID.|class --|
|000043a0| 20 78 77 69 64 09 47 69 | 76 65 6e 20 61 20 63 6c | xwid.Gi|ven a cl|
|000043b0| 61 73 73 20 70 6f 69 6e | 74 65 72 2c 20 72 65 74 |ass poin|ter, ret|
|000043c0| 75 6e 73 20 74 68 65 20 | 77 69 64 74 68 20 6f 66 |uns the |width of|
|000043d0| 20 74 68 65 20 69 6e 64 | 65 78 65 64 20 65 6c 65 | the ind|exed ele|
|000043e0| 6d 65 6e 74 73 2e 0d 5e | 43 4c 41 53 53 09 2d 2d |ments..^|CLASS.--|
|000043f0| 20 63 6c 61 73 73 09 41 | 64 64 72 20 6f 66 20 74 | class.A|ddr of t|
|00004400| 68 65 20 63 6c 61 73 73 | 20 77 65 27 72 65 20 63 |he class| we're c|
|00004410| 75 72 72 65 6e 74 6c 79 | 20 63 6f 6d 70 69 6c 69 |urrently| compili|
|00004420| 6e 67 2e 0d 5e 44 4c 45 | 4e 09 6f 62 6a 20 2d 2d |ng..^DLE|N.obj --|
|00004430| 20 64 66 61 09 52 65 74 | 75 72 6e 73 20 74 68 65 | dfa.Ret|urns the|
|00004440| 20 64 66 61 20 66 6f 72 | 20 74 68 65 20 67 69 76 | dfa for| the giv|
|00004450| 65 6e 20 6f 62 6a 65 63 | 74 2e 0d 5e 45 4c 45 4d |en objec|t..^ELEM|
|00004460| 09 69 64 78 20 2d 2d 20 | 61 64 64 72 09 4c 65 61 |.idx -- |addr.Lea|
|00004470| 76 65 73 20 61 64 64 72 | 20 6f 66 20 69 6e 64 65 |ves addr| of inde|
|00004480| 78 65 64 20 65 6c 65 6d | 65 6e 74 2e 0d 00 00 00 |xed elem|ent.....|
|00004490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004500| 00 00 01 00 00 00 01 42 | 00 00 00 42 00 00 00 3b |.......B|...B...;|
|00004510| 6f 62 6a 20 20 3a 20 6e | 61 6d 65 09 41 20 73 74 |obj : n|ame.A st|
|00004520| 61 6e 64 61 72 64 20 63 | 6c 61 73 73 2e 20 20 41 |andard c|lass. A|
|00004530| 03 4f 4f 50 02 00 00 00 | 50 61 72 74 53 49 54 21 |.OOP....|PartSIT!|
|00004540| 00 00 00 00 00 00 00 00 | 00 01 82 b6 00 00 00 00 |........|........|
|00004550| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00004560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004570| 00 00 b3 66 c2 84 00 00 | 00 00 00 00 01 7d 75 74 |...f....|.....}ut|
|00004580| 65 73 20 74 6f 74 61 6c | 20 64 61 74 61 20 6c 65 |es total| data le|
|00004590| 6e 67 74 68 20 6f 66 20 | 63 75 72 72 65 6e 74 20 |ngth of |current |
|000045a0| 6f 62 6a 65 63 74 2e 0d | 4f 42 4a 50 54 52 09 2d |object..|OBJPTR.-|
|000045b0| 2d 20 20 3a 20 20 6e 61 | 6d 65 09 41 6e 20 6f 62 |- : na|me.An ob|
|000045c0| 6a 65 63 74 20 70 6f 69 | 6e 74 65 72 20 69 73 20 |ject poi|nter is |
|000045d0| 61 20 22 6c 6f 77 2d 6c | 65 76 65 6c 22 20 65 6e |a "low-l|evel" en|
|000045e0| 74 69 74 79 2c 20 72 61 | 74 68 65 72 20 6c 69 6b |tity, ra|ther lik|
|000045f0| 65 20 61 20 76 61 6c 75 | 65 2e 20 20 54 68 65 20 |e a valu|e. The |
|00004600| 00 00 00 3e 00 00 00 00 | 00 00 00 00 00 00 00 00 |...>....|........|
|00004610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 2a be |........|......*.|
|00004630| 00 00 2a be 00 00 00 00 | 00 00 00 00 00 00 00 00 |..*.....|........|
|00004640| 00 00 00 00 01 00 00 00 | 01 42 00 00 00 42 00 00 |........|.B...B..|
|00004650| 00 3b 00 4a 01 50 0f 10 | 00 00 00 1c 00 32 00 00 |.;.J.P..|.....2..|
|00004660| 4d 49 46 4f 00 00 00 0a | 00 80 00 00 00 00 00 00 |MIFO....|........|
|00004670| 00 4a 11 b4 08 4d 69 73 | 63 49 6e 66 6f 00 00 00 |.J...Mis|cInfo...|
+--------+-------------------------+-------------------------+--------+--------+